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

  • CryptoSpi::CCryptoParam

Constructor & Destructor Documentation

CCryptoParam(TParamType, TUid)

CCryptoParam(TParamTypeaType,
TUidaUid
)[protected]

Constructor

Parameters

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

~CCryptoParam()

IMPORT_C~CCryptoParam()

Destructor

Member Functions Documentation

Type()

IMPORT_C TIntType()const

Returns the data type of the crypto parameter

Uid()

IMPORT_C TUidUid()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