CryptoSpi::THashCharacteristics Class Reference

class CryptoSpi::THashCharacteristics

Hash Characteristics

Member Functions Documentation

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Externalises hash characteristics to a write stream.

Parameters

RWriteStream & aStream Stream to which the object should be externalised.

IsOperationModeSupported(TUid)

IMPORT_C 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

Member Data Documentation

TCommonCharacteristics cmn

TCommonCharacteristics cmn

Common characteristics

TUint iBlockSize

TUint iBlockSize

The internal block size of the hash in bits

TUint iOperationModeNum

TUint iOperationModeNum

Number of the supported Operation mode

TUint iOutputSize

TUint iOutputSize

the output size of the hash in bits

const TInt32 * iSupportedOperationModes

const TInt32 * iSupportedOperationModes

The list of supported Operation modes