#include <certificateapps.h>
Link against: certstore.lib
| class CCertificateAppInfoManager : public CBase |
| Public Member Functions | |
|---|---|
| virtual | ~CCertificateAppInfoManager() |
| IMPORT_C void | AddL(const TCertificateAppInfo &) |
| IMPORT_C const TCertificateAppInfo & | ApplicationL(const TUid &, TInt &) |
| IMPORT_C const RArray< TCertificateAppInfo > & | Applications() |
| IMPORT_C CCertificateAppInfoManager * | NewL() |
| IMPORT_C CCertificateAppInfoManager * | NewL(RFs &, TBool) |
| IMPORT_C CCertificateAppInfoManager * | NewLC() |
| IMPORT_C CCertificateAppInfoManager * | NewLC(RFs &, TBool) |
| IMPORT_C void | RemoveL(const TUid &) |
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.
| IMPORT_C | ~CCertificateAppInfoManager | ( | ) | [virtual] |
Virtual destructor. Frees all resources owned by the object, prior to its destruction.
| IMPORT_C void | AddL | ( | const TCertificateAppInfo & | aClient | ) |
Adds a new application.
| Parameters | |
|---|---|
| aClient | The new application to add. |
| Leave Codes | |
|---|---|
| KErrPermissionDenied | If the caller does not have the required capability. |
| Capability | |
|---|---|
| WriteDeviceData | The caller requires the WriteDeviceData capability. |
Gets an application by UID.
| Parameters | |
|---|---|
| aUid | The UID of the application. |
| aIndex | On return, the index of the application in the store. |
| Leave Codes | |
|---|---|
| KErrNotFound | If there is no application matching the specified UID. |
| IMPORT_C const RArray< TCertificateAppInfo > & | Applications | ( | ) | const |
Gets a list of all applications in the store.
| IMPORT_C CCertificateAppInfoManager * | NewL | ( | ) | [static] |
Creates a new instance of the app info manager.
| IMPORT_C CCertificateAppInfoManager * | NewL | ( | RFs & | aFs, |
| TBool | aOpenedForWrite | |||
| ) | [static] | |||
Creates a new instance of the app info manager.
DeprecatedClients should use the no-argument version.
| IMPORT_C CCertificateAppInfoManager * | NewLC | ( | ) | [static] |
Creates a new instance of the app info manager and puts a pointer to it onto the cleanup stack.
| IMPORT_C CCertificateAppInfoManager * | NewLC | ( | RFs & | aFs, |
| TBool | aOpenedForWrite | |||
| ) | [static] | |||
Creates a new instance of the app info manager.
DeprecatedClients should use the no-argument version.
| IMPORT_C void | RemoveL | ( | const TUid & | aUid | ) |
Removes an existing application.
| Parameters | |
|---|---|
| aUid | The UID of the application to remove. |
| Leave Codes | |
|---|---|
| KErrPermissionDenied | If the caller does not have the required capability. |
| KErrNotFound | If there is no application matching the specified UID. |
| Capability | |
|---|---|
| WriteDeviceData | The caller requires the WriteDeviceData capability. |