CCertificateAppInfoManager Class Reference

#include <certificateapps.h>

Link against: certstore.lib

class CCertificateAppInfoManager : public CBase

Inherits from

  • CCertificateAppInfoManager

    Detailed 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.

    Constructor & Destructor Documentation

    ~CCertificateAppInfoManager ( )

    IMPORT_C~CCertificateAppInfoManager()[virtual]

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

    Member Function 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.
    ParameterDescription
    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.
    ParameterDescription
    aUidThe UID of the application.
    aIndexOn return, the index of the application in the store.

    Returns: Information about the application if it is present.

    Applications ( )

    IMPORT_C const RArray< TCertificateAppInfo > &Applications()const

    Gets a list of all applications in the store.

    Returns: An array containing all applications in the store.

    NewL ( )

    IMPORT_C CCertificateAppInfoManager *NewL()[static]

    Creates a new instance of the app info manager.

    Returns: A new CCertificateAppInfoManager object.

    NewL ( RFs &, TBool )

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

    Creates a new instance of the app info manager.

    DeprecatedClients should use the no-argument version.

    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.

    Returns: A new CCertificateAppInfoManager object.

    NewLC ( RFs &, TBool )

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

    Creates a new instance of the app info manager.

    DeprecatedClients should use the no-argument version.

    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.
    ParameterDescription
    aUidThe UID of the application to remove.