CScript Class Reference

class CScript : public CBase

Type holding data to be used while prompting.

The default or custom (runtime over-ridden) prompt handler requires the permission type to prompt and the user-selection to be returned to security manager for access permission check

rtsecmgrclient.lib

Inherits from

Constructor & Destructor Documentation

CScript()

CScript()[private, inline]

CScript(TPolicyID, TExecutableID)

CScript(TPolicyIDaPolicyID,
TExecutableIDaScriptID
)[private, inline]

Parameters

TPolicyID aPolicyID
TExecutableID aScriptID

CScript(const CScript &)

CScript(const CScript &aRhs)[private]

Parameters

const CScript & aRhs

~CScript()

IMPORT_C~CScript()

Member Functions Documentation

ConstructL()

voidConstructL()[private]

ExternalizeL(RWriteStream &)

IMPORT_C voidExternalizeL(RWriteStream &aSink)const

Externalizes script data to stream

Parameters

RWriteStream & aSink

Hash()

TDesC Hash()[inline]

HashMatch(const TDesC &)

TBool HashMatch(const TDesC &aHashValue =  KNullDesC )const [inline]

Parameters

const TDesC & aHashValue =  KNullDesC

InternalizeL(RReadStream &)

IMPORT_C voidInternalizeL(RReadStream &aSource)

Internalizes script data from stream

Parameters

RReadStream & aSource

NewL(TPolicyID, TExecutableID)

IMPORT_C CScript *NewL(TPolicyIDaPolicyID,
TExecutableIDaScriptID
)[static]

Two-phased constructor

Constructs a CScript instance

Parameters

TPolicyID aPolicyIDTPolicyID policy identifier of the script
TExecutableID aScriptIDTExecutableID script identifier

NewLC(TPolicyID, TExecutableID)

IMPORT_C CScript *NewLC(TPolicyIDaPolicyID,
TExecutableIDaScriptID
)[static]

Two-phased constructor

Constructs a CScript instance and leaves the created instance on cleanupstack

Parameters

TPolicyID aPolicyIDTPolicyID policy identifier of the script
TExecutableID aScriptIDTExecutableID script identifier

PermDenied()

IMPORT_C TPermGrantPermDenied()const

PermDenied(RProviderArray &)

IMPORT_C voidPermDenied(RProviderArray &aDeniedProviders)

Parameters

RProviderArray & aDeniedProviders

PermGranted()

IMPORT_C TPermGrantPermGranted()const

PermGranted(RProviderArray &)

IMPORT_C voidPermGranted(RProviderArray &aAllowedProviders)

Parameters

RProviderArray & aAllowedProviders

PermissionSet()

IMPORT_C const CPermissionSet &PermissionSet()const

PermissionSet()

IMPORT_C CPermissionSet &PermissionSet()

PolicyID()

IMPORT_C TPolicyIDPolicyID()const

ScriptID()

IMPORT_C TExecutableIDScriptID()const

SetHashMarkL(const TDesC &)

voidSetHashMarkL(const TDesC &aHashMark)[inline]

Parameters

const TDesC & aHashMark

SetPermDenied(TPermGrant)

IMPORT_C voidSetPermDenied(TPermGrantaPermDenied)

Parameters

TPermGrant aPermDenied

SetPermDenied(RProviderArray)

IMPORT_C voidSetPermDenied(RProviderArrayaPermDeniedProviders)

Parameters

RProviderArray aPermDeniedProviders

SetPermGranted(TPermGrant)

IMPORT_C voidSetPermGranted(TPermGrantaPermGrant)

Parameters

TPermGrant aPermGrant

SetPermGranted(RProviderArray)

IMPORT_C voidSetPermGranted(RProviderArrayaPermGrantProviders)

Parameters

RProviderArray aPermGrantProviders

SetPermissionSet(const CPermissionSet &)

IMPORT_C voidSetPermissionSet(const CPermissionSet &aPermissionSet)

Parameters

const CPermissionSet & aPermissionSet

operator=(const CScript &)

IMPORT_C const CScript &operator=(const CScript &aRhs)

Parameters

const CScript & aRhs

Member Data Documentation

RProviderArray iAllowedProviders

RProviderArray iAllowedProviders[private]

RProviderArray iDeniedProviders

RProviderArray iDeniedProviders[private]

HBufC * iHashMark

HBufC *iHashMark[private]

TPermGrant iPermDenied

TPermGrant iPermDenied[private]

TPermGrant iPermGrant

TPermGrant iPermGrant[private]

CPermissionSet * iPermissionSet

CPermissionSet *iPermissionSet[private]

TPolicyID iPolicyID

TPolicyID iPolicyID[private]

TAny * iReserved

TAny *iReserved[private]

TExecutableID iScriptID

TExecutableID iScriptID[private]