#include <asymmetrickeys.h>
| class CDSAPublicKey : public CDSAParameters |
| Protected Attributes | |
|---|---|
| RInteger | iY |
| Public Member Functions | |
|---|---|
| virtual | ~CDSAPublicKey(void) |
| IMPORT_C CDSAPublicKey * | NewL(RInteger &, RInteger &, RInteger &, RInteger &) |
| IMPORT_C CDSAPublicKey * | NewLC(RInteger &, RInteger &, RInteger &, RInteger &) |
| IMPORT_C const TInteger & | Y(void) |
| Protected Member Functions | |
|---|---|
| CDSAPublicKey(RInteger &, RInteger &, RInteger &, RInteger &) | |
| CDSAPublicKey(void) | |
| Inherited Attributes | |
|---|---|
| CDSAParameters::iG | |
| CDSAParameters::iP | |
| CDSAParameters::iQ | |
Representation of a DSA public key.
| IMPORT_C | CDSAPublicKey | ( | void | ) | [protected] |
Default constructor
| IMPORT_C | ~CDSAPublicKey | ( | void | ) | [virtual] |
Destructor
| IMPORT_C CDSAPublicKey * | NewL | ( | RInteger & | aP, |
| RInteger & | aQ, | |||
| RInteger & | aG, | |||
| RInteger & | aY | |||
| ) | [static] | |||
Creates a new DSA public key object from a specified primes, base, and public key.
| Parameters | |
|---|---|
| aP | The DSA parameter, p (the prime) |
| aQ | The DSA parameter, q (the subprime) |
| aG | The DSA parameter, g (the base) |
| aY | The DSA parameter, y (the public key) |
| IMPORT_C CDSAPublicKey * | NewLC | ( | RInteger & | aP, |
| RInteger & | aQ, | |||
| RInteger & | aG, | |||
| RInteger & | aY | |||
| ) | [static] | |||
Creates a new DSA public key object from a specified primes, base, and public key.
The returned pointer is put onto the cleanup stack.
| Parameters | |
|---|---|
| aP | The DSA parameter, p (the prime) |
| aQ | The DSA parameter, q (the subprime) |
| aG | The DSA parameter, g (the base) |
| aY | The DSA parameter, y (the public key) |
| IMPORT_C const TInteger & | Y | ( | void | ) | const |
Gets the DSA parameter, y (the public key)