CryptoSpi::CCryptoParam Class Reference

class CryptoSpi::CCryptoParam : public CBase

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.

Inherits from

Constructor & Destructor Documentation

CCryptoParam(TParamType, TUid)

CCryptoParam ( TParamType aType,
TUid aUid
) [protected]

Constructor

Parameters

TParamType aType The data type identifier for the sub-class.
TUid aUid The Uid of the cryptoparam

~CCryptoParam()

IMPORT_C ~CCryptoParam ( )

Destructor

Member Functions Documentation

Type()

IMPORT_C TInt Type ( ) const

Returns the data type of the crypto parameter

Uid()

IMPORT_C TUid Uid ( ) const

Returns the Uid of the crypto parameter

Member Enumerations 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.

Enumerators

EInt = 1

RCryptoIntParam

EBigInt = 2

RCryptoBigIntParam

EDesC8 = 3

RCryptoDesC8Param

EDesC16 = 4

RCryptoDesC16Param

Member Data Documentation

TParamType iType

TParamType iType [protected]

The data type of the embedded value

TUid iUid

TUid iUid [protected]

The Uid of the crypto parameter