ESock::MPlatsecApiExt Class Reference

class ESock::MPlatsecApiExt

API Extension for performing platsec checks

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 & aPolicyA security policy that must be matched

GetProcessAndThreadId(TProcessId &, TThreadId &)

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

Parameters

TProcessId &
TThreadId &

HasCapability(const TCapability)

TBool HasCapability(const TCapabilityaCapability)const [pure virtual]

Checks the client process for the capability aCapability

Parameters

const TCapability aCapabilityThe capability to be checked for

SecureId(TSecureId &)

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

Obtains the TSecureId of the client process

Parameters

TSecureId & aResultIf the call is successful, the TSecureId.

VendorId(TVendorId &)

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

Obtains the TVendorId of the client process

Parameters

TVendorId & aResultIf the call is successful, the TVendorId.

Member Data Documentation

const TInt KInterfaceId

const TIntKInterfaceId[static]