CryptoSpi::CAsymmetricCipherCharacteristics Class Reference

class CryptoSpi::CAsymmetricCipherCharacteristics : public CryptoSpi::CCharacteristics

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

Inherits from

Constructor & Destructor Documentation

CAsymmetricCipherCharacteristics()

CAsymmetricCipherCharacteristics()[private]

Constructor

~CAsymmetricCipherCharacteristics()

~CAsymmetricCipherCharacteristics()[virtual]

Destructor

Member Functions Documentation

InternalizeL(RReadStream &)

voidInternalizeL(RReadStream &aStream)[virtual]

Internalize this object from the supplied stream.

Parameters

RReadStream & aStreamStream to read CAsymmetricCipherCharacteristics from.

IsPaddingModeSupported(TUid)

TBool IsPaddingModeSupported(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.

NewL()

CAsymmetricCipherCharacteristics *NewL()[static]

Create a new instance of CAsymmetricCipherCharacteristics.

NewLC()

CAsymmetricCipherCharacteristics *NewLC()[static]

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

Member Data Documentation

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 > iSupportedPaddingModes

RArray< TInt32 >iSupportedPaddingModes

The list of supported padding modes