CryptoSpi::CSymmetricCipherCharacteristics Class Reference

class CryptoSpi::CSymmetricCipherCharacteristics : public CryptoSpi::CCharacteristics

The class holds the symmetric cipher characteristics. which is used for internalization.

Inherits from

Constructor & Destructor Documentation

CSymmetricCipherCharacteristics()

CSymmetricCipherCharacteristics ( ) [private]

Constructor

~CSymmetricCipherCharacteristics()

~CSymmetricCipherCharacteristics ( ) [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 CSymmetricCipherCharacteristics 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

IsPaddingModeSupported(TUid)

TBool IsPaddingModeSupported ( TUid aPaddingMode ) 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 aPaddingMode The UID of the padding mode to test.

NewL()

CSymmetricCipherCharacteristics * NewL ( ) [static]

Create a new instance of CSymmetricCipherCharacteristics .

NewLC()

CSymmetricCipherCharacteristics * NewLC ( ) [static]

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

Member Data Documentation

TUint iBlockSize

TUint iBlockSize

The block size of the cipher in bytes

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

RArray< TInt32 > iSupportedOperationModes

RArray < TInt32 > iSupportedOperationModes

The list of supported Operation modes

RArray< TInt32 > iSupportedPaddingModes

RArray < TInt32 > iSupportedPaddingModes

The list of supported padding modes