#include "keys.h"
| class CryptoSpi::CKey : public CBase |
| Public Member Functions | |
|---|---|
| ~CKey() | |
| IMPORT_C const TInteger & | GetBigIntL(TUid) |
| IMPORT_C const TDesC8 & | GetTDesC8L(TUid) |
| IMPORT_C TInt | GetTIntL(TUid) |
| IMPORT_C TBool | IsPresent(TUid) |
| IMPORT_C const CCryptoParams & | KeyParameters() |
| IMPORT_C const TKeyProperty & | KeyProperty() |
| IMPORT_C CKey * | NewL(const TKeyProperty &, const CCryptoParams &) |
| IMPORT_C CKey * | NewL(const CKey &) |
| IMPORT_C CKey * | NewLC(const TKeyProperty &, const CCryptoParams &) |
| IMPORT_C CKey * | NewLC(const CKey &) |
The key definition
| IMPORT_C const CCryptoParams & | KeyParameters | ( | ) | const |
Retrieve the key property and key parameter
Returns: The key parameters
| IMPORT_C const TKeyProperty & | KeyProperty | ( | ) | const |
Retrieve the key property
Returns: The reference of the key property
| IMPORT_C CKey * | NewL | ( | const TKeyProperty & | aKeyProperty, |
| const CCryptoParams & | aKeyParameters | |||
| ) | [static] | |||
Creates a new key from a key property and key parameters.
| Parameter | Description |
|---|---|
| aKeyProperty | The key property for the new key |
| aKeyParameters | The list of the key parameters |
Returns: A pointer to a CKey instance
| IMPORT_C CKey * | NewLC | ( | const TKeyProperty & | aKeyProperty, |
| const CCryptoParams & | aKeyParameters | |||
| ) | [static] | |||
Creates a new key from a key property and key parameters. Leave the Ckey pointer on the cleanup stack.
| Parameter | Description |
|---|---|
| aKeyProperty | The key property for the new key |
| aKeyParameters | The list of the key parameters |
Returns: A pointer to a CKey instance