CryptoSpi::CAsymmetricSignatureCharacteristics Class Reference

#include <cryptospi/cryptocharacteristics.h>

Link against: cryptospi.lib

class CryptoSpi::CAsymmetricSignatureCharacteristics : public CryptoSpi::CCharacteristics

Inherits from

Detailed Description

The class holds the signature characteristics. which is used for internalization.

Member Attribute Documentation

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

iSupportedPaddingModes

RArray< TInt32 >iSupportedPaddingModes

The list of supported padding modes

Constructor & Destructor Documentation

~CAsymmetricSignatureCharacteristics ( )

~CAsymmetricSignatureCharacteristics()[virtual]

Destructor

Member Function Documentation

InternalizeL ( RReadStream & )

voidInternalizeL(RReadStream &aStream)[virtual]

Reimplemented from CryptoSpi::CCharacteristics::InternalizeL(RReadStream &)

Internalize this object from the supplied stream.

ParameterDescription
aStreamStream to read CAsymmetricSignatureCharacteristics 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.

ParameterDescription
aPaddingModeThe UID of the padding mode to test.

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

NewL ( )

Create a new instance of CAsymmetricSignatureCharacteristics.

Returns: the pointer of the asymmetric signature characteristic

NewLC ( )

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

Returns: the pointer of the asymmetric signature characteristic