#include <cryptospi/cryptocharacteristics.h>
| class CryptoSpi::CHashCharacteristics : public CryptoSpi::CCharacteristics |
| Public Attributes | |
|---|---|
| TUint | iBlockSize |
| TUint | iOutputSize |
| RArray< TInt32 > | iSupportedOperationModes |
| Public Member Functions | |
|---|---|
| virtual | ~CHashCharacteristics() |
| virtual void | InternalizeL(RReadStream &) |
| TBool | IsOperationModeSupported(TUid) |
| CHashCharacteristics * | NewL() |
| CHashCharacteristics * | NewLC() |
The class holds the hash characteristics. which is used for internalization.
| void | InternalizeL | ( | RReadStream & | aStream | ) | [virtual] |
Reimplemented from CryptoSpi::CCharacteristics::InternalizeL(RReadStream &)
Internalize this object from the supplied stream.
| Parameter | Description |
|---|---|
| aStream | Stream to read CHashCharacteristics from. |
Determines whether an operation mode (e.g. HMAC) is supported by the plug-in by searching through iSupportedOperationModes for the UID value corresponding to the aOperationMode parameter.
| Parameter | Description |
|---|---|
| aOperationMode | The UID of the operation mode to test |
Returns: ETrue if the operation mode is supported; otherwise, EFalse is returned.
| CHashCharacteristics * | NewL | ( | ) | [static] |
Create a new instance of CHashCharacteristics.
Returns: the pointer of the hash characteristic
| CHashCharacteristics * | NewLC | ( | ) | [static] |
Create a new instance of CHashCharacteristics, Leave it on the cleanup stack.
Returns: the pointer of the hash characteristic