#include <cryptospi/cryptocharacteristics.h>
class CryptoSpi::CAsymmetricSignatureCharacteristics : public CryptoSpi::CCharacteristics |
Public Attributes | |
---|---|
TInt | iKeySupportMode |
TUint | iMaximumKeyLength |
RArray< TInt32 > | iSupportedPaddingModes |
Public Member Functions | |
---|---|
virtual | ~CAsymmetricSignatureCharacteristics() |
virtual void | InternalizeL(RReadStream &) |
TBool | IsPaddingModeSupported(TUid) |
CAsymmetricSignatureCharacteristics * | NewL() |
CAsymmetricSignatureCharacteristics * | NewLC() |
The class holds the signature characteristics. which is used for internalization.
TInt | iKeySupportMode |
The supported key mode bit map. e.g. extern key, internal key or both
void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Reimplemented from CryptoSpi::CCharacteristics::InternalizeL(RReadStream &)
Internalize this object from the supplied stream.
Parameter | Description |
---|---|
aStream | Stream to read CAsymmetricSignatureCharacteristics from. |
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.
Parameter | Description |
---|---|
aPaddingMode | The UID of the padding mode to test. |
Returns: ETrue if the padding mode is supported; otherwise, EFalse is returned.
CAsymmetricSignatureCharacteristics * | NewL | ( | ) | [static] |
Create a new instance of CAsymmetricSignatureCharacteristics.
Returns: the pointer of the asymmetric signature characteristic
CAsymmetricSignatureCharacteristics * | NewLC | ( | ) | [static] |
Create a new instance of CAsymmetricSignatureCharacteristics. Leave it on the cleanup stack.
Returns: the pointer of the asymmetric signature characteristic