CryptoSpi::CHashCharacteristics Class Reference

class CryptoSpi::CHashCharacteristics : public CryptoSpi::CCharacteristics

The class holds the hash characteristics. which is used for internalization.

Inherits from

Constructor & Destructor Documentation

CHashCharacteristics()

CHashCharacteristics ( ) [private]

Constructor

~CHashCharacteristics()

~CHashCharacteristics ( ) [virtual]

Destructor

Member Functions Documentation

InternalizeL(RReadStream &)

void InternalizeL ( RReadStream & aStream ) [virtual]

Internalize this object from the supplied stream.

Parameters

RReadStream & aStream Stream to read CHashCharacteristics from.

IsOperationModeSupported(TUid)

TBool IsOperationModeSupported ( TUid aOperationMode ) const

Determines whether an operation mode (e.g. HMAC) is supported by the plug-in by searching through iSupportedOperationModes for the UID value corresponding to the aOperationMode parameter.

Parameters

TUid aOperationMode The UID of the operation mode to test

NewL()

CHashCharacteristics * NewL ( ) [static]

Create a new instance of CHashCharacteristics .

NewLC()

CHashCharacteristics * NewLC ( ) [static]

Create a new instance of CHashCharacteristics , Leave it on the cleanup stack.

Member Data Documentation

TUint iBlockSize

TUint iBlockSize

The internal block size of the hash in bits

TUint iOutputSize

TUint iOutputSize

the output size of the hash in bytes

RArray< TInt32 > iSupportedOperationModes

RArray < TInt32 > iSupportedOperationModes

The list of supported Operation modes