CryptoSpi::THashCharacteristics Class Reference

#include <cryptospi/plugincharacteristics.h>

Link against: cryptospi.lib

class CryptoSpi::THashCharacteristics

Detailed Description

Hash Characteristics

Member Attribute Documentation

cmn

Common characteristics

iBlockSize

TUint iBlockSize

The internal block size of the hash in bits

iOperationModeNum

TUint iOperationModeNum

Number of the supported Operation mode

iOutputSize

TUint iOutputSize

the output size of the hash in bits

iSupportedOperationModes

const TInt32 *iSupportedOperationModes

The list of supported Operation modes

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const

Externalises hash characteristics to a write stream.

Parameters
aStreamStream to which the object should be externalised.

IsOperationModeSupported ( TUid )

IMPORT_C TBoolIsOperationModeSupported(TUidaOperationMode)const

Deprecated

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
aOperationModeThe UID of the operation mode to test
Return Value
ETrue if the operation mode is supported; otherwise, EFalse is returned.