CCertificateAppInfoManager Class Reference

class CCertificateAppInfoManager : public CBase

This class is used to access a persistent store which contains the available applications on a device. It provides an interface to add and retrieve applications.

Inherits from

  • CCertificateAppInfoManager

Constructor & Destructor Documentation

CCertificateAppInfoManager()

CCertificateAppInfoManager()[private]

~CCertificateAppInfoManager()

IMPORT_C~CCertificateAppInfoManager()[virtual]

Virtual destructor. Frees all resources owned by the object, prior to its destruction.

Member Functions Documentation

AddL(const TCertificateAppInfo &)

IMPORT_C voidAddL(const TCertificateAppInfo &aClient)

Adds a new application.

capability
WriteDeviceData The caller requires the WriteDeviceData capability.
leave
KErrPermissionDenied If the caller does not have the required capability.

Parameters

const TCertificateAppInfo & aClientThe new application to add.

ApplicationL(const TUid &, TInt &)

IMPORT_C const TCertificateAppInfo &ApplicationL(const TUid &aUid,
TInt &aIndex
)const

Gets an application by UID.

leave
KErrNotFound If there is no application matching the specified UID.

Parameters

const TUid & aUidThe UID of the application.
TInt & aIndexOn return, the index of the application in the store.

Applications()

IMPORT_C const RArray< TCertificateAppInfo > &Applications()const

Gets a list of all applications in the store.

ConstructL()

voidConstructL()[private]

NewL()

IMPORT_C CCertificateAppInfoManager *NewL()[static]

Creates a new instance of the app info manager.

NewL(RFs &, TBool)

IMPORT_C CCertificateAppInfoManager *NewL(RFs &aFs,
TBoolaOpenedForWrite
)[static]

Creates a new instance of the app info manager.

Clients should use the no-argument version.

Parameters

RFs & aFs
TBool aOpenedForWrite

NewLC()

IMPORT_C CCertificateAppInfoManager *NewLC()[static]

Creates a new instance of the app info manager and puts a pointer to it onto the cleanup stack.

NewLC(RFs &, TBool)

IMPORT_C CCertificateAppInfoManager *NewLC(RFs &aFs,
TBoolaOpenedForWrite
)[static]

Creates a new instance of the app info manager.

Clients should use the no-argument version.

Parameters

RFs & aFs
TBool aOpenedForWrite

RemoveL(const TUid &)

IMPORT_C voidRemoveL(const TUid &aUid)

Removes an existing application.

capability
WriteDeviceData The caller requires the WriteDeviceData capability.
leave
KErrPermissionDenied If the caller does not have the required capability.
leave
KErrNotFound If there is no application matching the specified UID.

Parameters

const TUid & aUidThe UID of the application to remove.

Member Data Documentation

MCTCertApps * iCertAppsIf

MCTCertApps *iCertAppsIf[private]

RArray< TCertificateAppInfo > iClients

RArray< TCertificateAppInfo >iClients[private]