CryptoSpi::CKey Class Reference

#include "keys.h"

class CryptoSpi::CKey : public CBase

Inherits from

  • CryptoSpi::CKey

    Detailed Description

    The key definition

    Constructor & Destructor Documentation

    ~CKey ( )

    IMPORT_C~CKey()

    Destructor

    Member Function Documentation

    GetBigIntL ( TUid )

    IMPORT_C const TInteger &GetBigIntL(TUidaUid)const

    Retrieve the Key Parameter according to the UID of the parameter

    ParameterDescription
    aUidThe UID of the key parameter

    GetTDesC8L ( TUid )

    IMPORT_C const TDesC8 &GetTDesC8L(TUidaUid)const

    GetTIntL ( TUid )

    IMPORT_C TIntGetTIntL(TUidaUid)const

    IsPresent ( TUid )

    IMPORT_C TBoolIsPresent(TUidaUid)const

    KeyParameters ( )

    IMPORT_C const CCryptoParams &KeyParameters()const

    Retrieve the key property and key parameter

    Returns: The key parameters

    KeyProperty ( )

    IMPORT_C const TKeyProperty &KeyProperty()const

    Retrieve the key property

    Returns: The reference of the key property

    NewL ( const TKeyProperty &, const CCryptoParams & )

    IMPORT_C CKey *NewL(const TKeyProperty &aKeyProperty,
    const CCryptoParams &aKeyParameters
    )[static]

    Creates a new key from a key property and key parameters.

    ParameterDescription
    aKeyPropertyThe key property for the new key
    aKeyParametersThe list of the key parameters

    Returns: A pointer to a CKey instance

    NewL ( const CKey & )

    IMPORT_C CKey *NewL(const CKey &aKey)[static]

    Creates a new key from a CKey object.

    ParameterDescription
    aKeythe source CKey object.

    Returns: A pointer to a CKey instance

    NewLC ( const TKeyProperty &, const CCryptoParams & )

    IMPORT_C CKey *NewLC(const TKeyProperty &aKeyProperty,
    const CCryptoParams &aKeyParameters
    )[static]

    Creates a new key from a key property and key parameters. Leave the Ckey pointer on the cleanup stack.

    ParameterDescription
    aKeyPropertyThe key property for the new key
    aKeyParametersThe list of the key parameters

    Returns: A pointer to a CKey instance

    NewLC ( const CKey & )

    IMPORT_C CKey *NewLC(const CKey &aKey)[static]

    Creates a new key from a CKey object. Leave the Ckey pointer on the cleanup stack.

    ParameterDescription
    aKeythe source CKey object.

    Returns: A pointer to a CKey instance