CryptoSpi::CCryptoParam Class Reference

#include <cryptospi/cryptoparams.h>

Link against: cryptospi.lib

class CryptoSpi::CCryptoParam : public CBase

Inherits from

  • CryptoSpi::CCryptoParam

    Detailed Description

    Abstract base class for generic crypto parameters to enable plug-in specific parameters and the externalisation of plug-ins. The type of the sub-class is identified by the GetType method.

    All sub-class contain copies of (instead of references to) the supplied values.

    Member Attribute Documentation

    iType

    TParamType iType[protected]

    The data type of the embedded value

    iUid

    TUid iUid[protected]

    The Uid of the crypto parameter

    Member Enumeration Documentation

    Enum TParamType

    The definition of the data type of the embedded value. Other data types may be added in future so applications should not panic if the type is not recognised.

    EnumeratorValueDescription
    EInt1

    RCryptoIntParam

    EBigInt2

    RCryptoBigIntParam

    EDesC83

    RCryptoDesC8Param

    EDesC164

    RCryptoDesC16Param

    Constructor & Destructor Documentation

    CCryptoParam ( TParamType, TUid )

    CCryptoParam(TParamTypeaType,
    TUidaUid
    )[protected]

    Constructor

    ParameterDescription
    aTypeThe data type identifier for the sub-class.
    aUidThe Uid of the cryptoparam

    ~CCryptoParam ( )

    IMPORT_C~CCryptoParam()

    Destructor

    Member Function Documentation

    Type ( )

    IMPORT_C TIntType()const

    Returns the data type of the crypto parameter

    Returns: The data type of the crypto parameter

    Uid ( )

    IMPORT_C TUidUid()const

    Returns the Uid of the crypto parameter

    Returns: The Uid of the crypto parameter