#include <asymmetrickeys.h>
| class CDSAPrimeCertificate : public CBase |
| Protected Attributes | |
|---|---|
| TUint | iCounter |
| const HBufC8 * | iSeed |
| Public Member Functions | |
|---|---|
| virtual | ~CDSAPrimeCertificate(void) |
| IMPORT_C TUint | Counter(void) |
| IMPORT_C CDSAPrimeCertificate * | NewL(const TDesC8 &, TUint) |
| IMPORT_C CDSAPrimeCertificate * | NewLC(const TDesC8 &, TUint) |
| IMPORT_C const TDesC8 & | Seed(void) |
| Protected Member Functions | |
|---|---|
| CDSAPrimeCertificate(TUint) | |
| CDSAPrimeCertificate(void) | |
| void | ConstructL(const TDesC8 &) |
Representation of the parameters used to generate the primes in a CDSAParameters object.
Given such a certificate, one can ensure that the DSA primes contained in CDSAParameters were generated correctly.
See also: CDSAParameters::ValidatePrimesL()
| IMPORT_C | CDSAPrimeCertificate | ( | TUint | aCounter | ) | [protected] |
Constructor
| Parameter | Description |
|---|---|
| aCounter | The DSA key generation counter |
| IMPORT_C TUint | Counter | ( | void | ) | const |
Gets the counter value of the DSA prime certificate
Returns: The counter's value
| IMPORT_C CDSAPrimeCertificate * | NewL | ( | const TDesC8 & | aSeed, |
| TUint | aCounter | |||
| ) | [static] | |||
Creates a new DSA prime certificate from a specified seed and counter value.
| Parameter | Description |
|---|---|
| aSeed | The seed from a DSA key generation process |
| aCounter | The counter value from a DSA key generation process |
Returns: A pointer to a new CDSAPrimeCertificate object
| IMPORT_C CDSAPrimeCertificate * | NewLC | ( | const TDesC8 & | aSeed, |
| TUint | aCounter | |||
| ) | [static] | |||
Creates a new DSA prime certificate from a specified seed and counter value.
The returned pointer is put onto the cleanup stack.
| Parameter | Description |
|---|---|
| aSeed | The seed from a DSA key generation process |
| aCounter | The counter value from a DSA key generation process |
Returns: A pointer to a new CDSAPrimeCertificate object