#include <certificateapps_v2.h>
Link against:
certstore.lib
This item is not part of the S60 5th Edition SDK
Class CCertificateAppInfoManager
class CCertificateAppInfoManager : public CBase;
Description
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.
Derivation
CBase
-
Base class for all classes to be instantiated on the heap.
CCertificateAppInfoManager
- This class is used to access a persistent store which contains the available app...
Members
Defined in CCertificateAppInfoManager
:
Inherited from CBase
:
Construction and destruction
IMPORT_C static CCertificateAppInfoManager* NewLC();
Description
Creates a new instance of the app info manager and puts a pointer to it onto the cleanup stack.
Return value
IMPORT_C static CCertificateAppInfoManager* NewL();
Description
Creates a new instance of the app info manager.
Return value
Interface status: |
deprecated |
Clients should use the no-argument version. |
IMPORT_C static CCertificateAppInfoManager* NewLC(RFs &aFs, TBool aOpenedForWrite);
Description
Creates a new instance of the app info manager.
Parameters
RFs &aFs |
|
TBool aOpenedForWrite |
|
|
Return value
Interface status: |
deprecated |
Clients should use the no-argument version. |
IMPORT_C static CCertificateAppInfoManager* NewL(RFs &aFs, TBool aOpenedForWrite);
Description
Creates a new instance of the app info manager.
Parameters
RFs &aFs |
|
TBool aOpenedForWrite |
|
|
Return value
~CCertificateAppInfoManager()
IMPORT_C virtual ~CCertificateAppInfoManager();
Description
Virtual destructor. Frees all resources owned by the object, prior to its destruction.
AddL(const TCertificateAppInfo &)
Capability: |
WriteDeviceData |
The caller requires the WriteDeviceData capability. |
IMPORT_C void AddL(const TCertificateAppInfo &aClient);
Description
Adds a new application.
Parameters
const TCertificateAppInfo &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. |
IMPORT_C void RemoveL(const TUid &aUid);
Description
Removes an existing application.
Parameters
const TUid &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.
|
|
ApplicationL(const TUid &,TInt &)const
IMPORT_C const TCertificateAppInfo& ApplicationL(const TUid &aUid, TInt &aIndex) const;
Description
Gets an application by UID.
Parameters
const TUid &aUid |
The UID of the application.
|
TInt &aIndex |
On return, the index of the application in the store.
|
|
Return value
const TCertificateAppInfo & |
Information about the application if it is present.
|
|
Leave codes
KErrNotFound |
If there is no application matching the specified UID.
|
|
IMPORT_C const RArray< TCertificateAppInfo >& Applications() const;
Description
Gets a list of all applications in the store.
Return value
const RArray < TCertificateAppInfo > & |
An array containing all applications in the store.
|
|