CDSAPublicKey Class Reference
#include
<asymmetrickeys.h>
| class CDSAPublicKey : public CDSAParameters |
| Inherited Functions |
|---|
| | CBase::CBase() |
| | CBase::Delete(CBase *) |
| | CBase::Extension_(TUint,TAny *&,TAny *) |
| | CBase::operator new(TUint) |
| | CBase::operator new(TUint,TAny *) |
| | CBase::operator new(TUint,TLeave) |
| | CBase::operator new(TUint,TLeave,TUint) |
| | CBase::operator new(TUint,TUint) |
| | CBase::~CBase() |
| | CDSAParameters::CDSAParameters(RInteger &,RInteger &,RInteger &) |
| | CDSAParameters::CDSAParameters(void) |
| | CDSAParameters::G(void)const |
| | CDSAParameters::GeneratePrimesL(const TDesC8 &,TUint &,RInteger &,TUint,RInteger &,TBool) |
| | CDSAParameters::NewL(RInteger &,RInteger &,RInteger &) |
| | CDSAParameters::P(void)const |
| | CDSAParameters::Q(void)const |
| | CDSAParameters::ValidPrimeLength(TUint) |
| | CDSAParameters::ValidatePrimesL(const CDSAPrimeCertificate &)const |
| | CDSAParameters::~CDSAParameters(void) |
Detailed Description
Representation of a DSA public key.
Member Attribute Documentation
iY
The DSA parameter, y, which is the public key
y = g^x mod p
Constructor & Destructor Documentation
CDSAPublicKey ( RInteger &, RInteger &, RInteger &, RInteger & )
| Parameter | Description | | 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) |
CDSAPublicKey ( void )
| IMPORT_C | CDSAPublicKey | ( | void | | ) | [protected] |
~CDSAPublicKey ( void )
| IMPORT_C | ~CDSAPublicKey | ( | void | | ) | [virtual] |
Member Function Documentation
NewL ( RInteger &, RInteger &, RInteger &, RInteger & )
Creates a new DSA public key object from a specified primes, base, and public key.
| Parameter | Description | | 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) |
Returns: A pointer to a new CDSAPublicKey object
NewLC ( RInteger &, RInteger &, RInteger &, RInteger & )
Creates a new DSA public key object from a specified primes, base, and public key.
The returned pointer is put onto the cleanup stack.
| Parameter | Description | | 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) |
Returns: A pointer to a new CDSAPublicKey object
Y ( void )
Gets the DSA parameter, y (the public key)
Returns: The DSA parameter, y