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 &)

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

Parameters

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

CancelApplications()

void CancelApplications ( ) [virtual]

CancelGetCert()

void CancelGetCert ( ) [virtual]

CancelIsApplicable()

void CancelIsApplicable ( ) [virtual]

CancelList()

void CancelList ( ) [virtual]

CancelRetrieve()

void CancelRetrieve ( ) [virtual]

CancelTrusted()

void CancelTrusted ( ) [virtual]

CertMetaInfoL(const CCTCertInfo &)

IMPORT_C const TCertMetaInfo & CertMetaInfoL ( const CCTCertInfo & aCertInfo )

Parameters

const CCTCertInfo & aCertInfo

ConstructL(RFs &)

void ConstructL ( RFs & aFs ) [private]

Parameters

RFs & aFs

CreateTokenTypeL()

IMPORT_C CCTTokenType * CreateTokenTypeL ( ) [static]

DoRelease()

void DoRelease ( ) [private, virtual]

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

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

Parameters

CCTCertInfo *& aCertInfo
const TCTTokenObjectHandle & aHandle
TRequestStatus & aStatus

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

void IsApplicable ( const CCTCertInfo & aCertInfo,
TUid aApplication,
TBool & aIsApplicable,
TRequestStatus & aStatus
) [virtual]

Parameters

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

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

void List ( 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 &)

void Retrieve ( 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 &)

void Trusted ( 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]