ESock::MPlatsecApiExt Class Reference

class ESock::MPlatsecApiExt

API Extension for performing platsec checks

Public Member Functions
TInt CheckPolicy (const TSecurityPolicy &)
TInt GetProcessAndThreadId ( TProcessId &, TThreadId &)
TBool HasCapability (const TCapability )
TInt SecureId ( TSecureId &)
TInt VendorId ( TVendorId &)
Public Attributes
const TInt KInterfaceId

Member Functions Documentation

CheckPolicy(const TSecurityPolicy &)

TInt CheckPolicy ( const TSecurityPolicy & aPolicy ) const [pure virtual]

Checks the client process for a match against the policy aPolicy

Parameters

const TSecurityPolicy & aPolicy A security policy that must be matched

GetProcessAndThreadId(TProcessId &, TThreadId &)

TInt GetProcessAndThreadId ( TProcessId & ,
TThreadId &
) const [inline, virtual]

HasCapability(const TCapability)

TBool HasCapability ( const TCapability aCapability ) const [pure virtual]

Checks the client process for the capability aCapability

Parameters

const TCapability aCapability The capability to be checked for

SecureId(TSecureId &)

TInt SecureId ( TSecureId & aResult ) const [pure virtual]

Obtains the TSecureId of the client process

Parameters

TSecureId & aResult If the call is successful, the TSecureId.

VendorId(TVendorId &)

TInt VendorId ( TVendorId & aResult ) const [pure virtual]

Obtains the TVendorId of the client process

Parameters

TVendorId & aResult If the call is successful, the TVendorId.

Member Data Documentation

const TInt KInterfaceId

const TInt KInterfaceId [static]