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

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 void AddL ( 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 & aClient The 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 & aUid The UID of the application.
TInt & aIndex On 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()

void ConstructL ( ) [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,
TBool aOpenedForWrite
) [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,
TBool aOpenedForWrite
) [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 void RemoveL ( 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 & aUid The UID of the application to remove.

Member Data Documentation

MCTCertApps * iCertAppsIf

MCTCertApps * iCertAppsIf [private]

RArray< TCertificateAppInfo > iClients

RArray < TCertificateAppInfo > iClients [private]