CSWICertStore Class Reference

class CSWICertStore : protected CBase

The software install certificate store.

To support platform security, software install uses an independant ROM-based certificate store to find root certs. In addition to the usual meta-data, this also associates a set of capabilities and a mandatory flag with each cert.

Although this class supports the MCTCertStore interface, the implementation is synchronous.

Inherits from

Constructor & Destructor Documentation

CSWICertStore(CSWICertStoreToken &)

CSWICertStore(CSWICertStoreToken &aToken)[private]

Parameters

CSWICertStoreToken & aToken

~CSWICertStore()

~CSWICertStore()[private, virtual]

Member Functions Documentation

Applications(const CCTCertInfo &, RArray< TUid > &, TRequestStatus &)

voidApplications(const CCTCertInfo &aCertInfo,
RArray< TUid > &aAplications,
TRequestStatus &aStatus
)[virtual]

Parameters

const CCTCertInfo & aCertInfo
RArray< TUid > & aAplications
TRequestStatus & aStatus

CancelApplications()

voidCancelApplications()[virtual]

CancelGetCert()

voidCancelGetCert()[virtual]

CancelIsApplicable()

voidCancelIsApplicable()[virtual]

CancelList()

voidCancelList()[virtual]

CancelRetrieve()

voidCancelRetrieve()[virtual]

CancelTrusted()

voidCancelTrusted()[virtual]

CertMetaInfoL(const CCTCertInfo &)

IMPORT_C const TCertMetaInfo &CertMetaInfoL(const CCTCertInfo &aCertInfo)

Parameters

const CCTCertInfo & aCertInfo

ConstructL(RFs &)

voidConstructL(RFs &aFs)[private]

Parameters

RFs & aFs

CreateTokenTypeL()

IMPORT_C CCTTokenType *CreateTokenTypeL()[static]

DoRelease()

voidDoRelease()[private, virtual]

GetCert(CCTCertInfo *&, const TCTTokenObjectHandle &, TRequestStatus &)

voidGetCert(CCTCertInfo *&aCertInfo,
const TCTTokenObjectHandle &aHandle,
TRequestStatus &aStatus
)[virtual]

Parameters

CCTCertInfo *& aCertInfo
const TCTTokenObjectHandle & aHandle
TRequestStatus & aStatus

IsApplicable(const CCTCertInfo &, TUid, TBool &, TRequestStatus &)

voidIsApplicable(const CCTCertInfo &aCertInfo,
TUidaApplication,
TBool &aIsApplicable,
TRequestStatus &aStatus
)[virtual]

Parameters

const CCTCertInfo & aCertInfo
TUid aApplication
TBool & aIsApplicable
TRequestStatus & aStatus

List(RMPointerArray< CCTCertInfo > &, const CCertAttributeFilter &, TRequestStatus &)

voidList(RMPointerArray< CCTCertInfo > &aCerts,
const CCertAttributeFilter &aFilter,
TRequestStatus &aStatus
)[virtual]

Parameters

RMPointerArray< CCTCertInfo > & aCerts
const CCertAttributeFilter & aFilter
TRequestStatus & aStatus

NewL(RFs &)

IMPORT_C CSWICertStore *NewL(RFs &aFs)[static]

Parameters

RFs & aFs

NewL(CSWICertStoreToken &, RFs &)

CSWICertStore *NewL(CSWICertStoreToken &aToken,
RFs &aFs
)[static]

Parameters

CSWICertStoreToken & aToken
RFs & aFs

Retrieve(const CCTCertInfo &, TDes8 &, TRequestStatus &)

voidRetrieve(const CCTCertInfo &aCertInfo,
TDes8 &aEncodedCert,
TRequestStatus &aStatus
)[virtual]

Parameters

const CCTCertInfo & aCertInfo
TDes8 & aEncodedCert
TRequestStatus & aStatus

Token()

MCTToken &Token()[virtual]

Trusted(const CCTCertInfo &, TBool &, TRequestStatus &)

voidTrusted(const CCTCertInfo &aCertInfo,
TBool &aTrusted,
TRequestStatus &aStatus
)[virtual]

Parameters

const CCTCertInfo & aCertInfo
TBool & aTrusted
TRequestStatus & aStatus

Member Data Documentation

CSWICertStoreImpl * iImpl

CSWICertStoreImpl *iImpl[private]

CSWICertStoreToken & iToken

CSWICertStoreToken &iToken[private]