CryptoSpi::TAsymmetricCipherCharacteristics Class Reference

class CryptoSpi::TAsymmetricCipherCharacteristics

Asymmetric Cipher Characteristics

Member Functions Documentation

ExternalizeL(RWriteStream &)

void ExternalizeL ( RWriteStream & aStream ) const

Externalises asymmetric cipher characteristics to a write stream.

Parameters

RWriteStream & aStream Stream to which the object should be externalised.

IsPaddingModeSupported(TUid)

IMPORT_C 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.

Member Data Documentation

TCommonCharacteristics cmn

TCommonCharacteristics cmn

Common characteristics

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

TInt iPaddingModeNum

TInt iPaddingModeNum

Number of the supported padding mode

const TInt32 * iSupportedPaddingModes

const TInt32 * iSupportedPaddingModes

The list of supported padding modes