CryptoSpi::TAsymmetricSignatureCharacteristics Class Reference

#include <cryptospi/plugincharacteristics.h>

Link against: cryptospi.lib

class CryptoSpi::TAsymmetricSignatureCharacteristics

Detailed Description

Signature Characteristics

Member Attribute Documentation

cmn

Common characteristics

iKeySupportMode

TInt iKeySupportMode

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

iMaximumKeyLength

TUint iMaximumKeyLength

The maximum key length in bits

iPaddingModeNum

TInt iPaddingModeNum

Number of the supported padding mode

iSupportedPaddingModes

const TInt32 *iSupportedPaddingModes

The list of supported padding modes

Member Function Documentation

ExternalizeL ( RWriteStream & )

voidExternalizeL(RWriteStream &aStream)const

Externalises signature characteristics to a write stream.

ParameterDescription
aStreamStream to which the object should be externalised.

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.

ParameterDescription
aPaddingModeThe UID of the padding mode to test.

Returns: ETrue if the padding mode is supported; otherwise, EFalse is returned.