CryptoSpi::THashCharacteristics Class Reference

class CryptoSpi::THashCharacteristics

Hash Characteristics

Member Functions Documentation

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Externalises hash characteristics to a write stream.

Parameters

RWriteStream & aStreamStream to which the object should be externalised.

IsOperationModeSupported(TUid)

IMPORT_C TBoolIsOperationModeSupported(TUidaOperationMode)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 aOperationModeThe 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