CryptoSpi::TSymmetricCipherCharacteristics Class Reference

class CryptoSpi::TSymmetricCipherCharacteristics

Symmetric Cipher Chararcteristics

Member Functions Documentation

ExternalizeL(RWriteStream &)

voidExternalizeL(RWriteStream &aStream)const

Externalises symmetric cipher 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. CBC) 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

IsPaddingModeSupported(TUid)

IMPORT_C TBoolIsPaddingModeSupported(TUidaPaddingMode)const

Determines whether a padding mode (e.g. PKCS7) is supported by the plug-in by searching through iSupportedPaddingModes for the UID value corresponding to the aPaddingMode parameter.

Parameters

TUid aPaddingModeThe UID of the padding mode to test.

Member Data Documentation

TCommonCharacteristics cmn

TCommonCharacteristics cmn

Common characteristics

TUint iBlockSize

TUint iBlockSize

The block size of the cipher in bits

TInt iKeySupportMode

TInt iKeySupportMode

The supported key mode bit map. e.g. extern key, internal key or both

TUint iMaximumKeyLength

TUint iMaximumKeyLength

The maximum key length in bits

TUint iOperationModeNum

TUint iOperationModeNum

Number of the supported Operation mode

TUint iPaddingModeNum

TUint iPaddingModeNum

Number of the supported padding mode

const TInt32 * iSupportedOperationModes

const TInt32 *iSupportedOperationModes

The list of supported Operation modes

const TInt32 * iSupportedPaddingModes

const TInt32 *iSupportedPaddingModes

The list of supported padding modes