#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
Parameters | |
---|---|
aCounter | The DSA key generation counter |
IMPORT_C | CDSAPrimeCertificate | ( | void | ) | [protected] |
Default constructor
IMPORT_C | ~CDSAPrimeCertificate | ( | void | ) | [virtual] |
Destructor
void | ConstructL | ( | const TDesC8 & | aSeed | ) | [protected] |
IMPORT_C TUint | Counter | ( | void | ) | const |
Gets the counter value of the DSA prime certificate
IMPORT_C CDSAPrimeCertificate * | NewL | ( | const TDesC8 & | aSeed, |
TUint | aCounter | |||
) | [static] |
Creates a new DSA prime certificate from a specified seed and counter value.
Parameters | |
---|---|
aSeed | The seed from a DSA key generation process |
aCounter | The counter value from a DSA key generation process |
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.
Parameters | |
---|---|
aSeed | The seed from a DSA key generation process |
aCounter | The counter value from a DSA key generation process |
IMPORT_C const TDesC8 & | Seed | ( | void | ) | const |
Gets the seed of the DSA prime certificate