#include <x509keys.h>
Link against: x509.lib
class CX509DHDomainParams : public CBase |
Protected Attributes | |
---|---|
RInteger | iG |
RInteger | iJ |
RInteger | iP |
RInteger | iQ |
CX509DHValidationParams * | iValidationParams |
Public Member Functions | |
---|---|
virtual | ~CX509DHDomainParams() |
IMPORT_C const TInteger & | G() |
IMPORT_C const TInteger & | J() |
IMPORT_C CX509DHDomainParams * | NewL(const TDesC8 &) |
IMPORT_C CX509DHDomainParams * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CX509DHDomainParams * | NewLC(const TDesC8 &) |
IMPORT_C CX509DHDomainParams * | NewLC(const TDesC8 &, TInt &) |
IMPORT_C const TInteger & | P() |
IMPORT_C const TInteger & | Q() |
IMPORT_C const CX509DHValidationParams * | ValidationParams() |
Protected Member Functions | |
---|---|
CX509DHDomainParams() | |
void | ConstructL(const TDesC8 &, TInt &) |
Encapsulates the compulsory Diffie-Hellman domain parameter values P and G (See RFC 2459).
RInteger | iG | [protected] |
RInteger | iJ | [protected] |
RInteger | iP | [protected] |
RInteger | iQ | [protected] |
CX509DHValidationParams * | iValidationParams | [protected] |
CX509DHDomainParams | ( | ) | [protected] |
~CX509DHDomainParams | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
IMPORT_C const TInteger & | G | ( | ) | const |
Gets the compulsory parameter value G.
IMPORT_C CX509DHDomainParams * | NewL | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
IMPORT_C CX509DHDomainParams * | NewL | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation, starting at the specified offset.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
IMPORT_C CX509DHDomainParams * | NewLC | ( | const TDesC8 & | aBinaryData | ) | [static] |
Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation, and puts a pointer to it onto the cleanup stack.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
IMPORT_C CX509DHDomainParams * | NewLC | ( | const TDesC8 & | aBinaryData, |
TInt & | aPos | |||
) | [static] |
Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation, starting at the specified offset, and puts a pointer to it onto the cleanup stack.
Parameters | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
IMPORT_C const TInteger & | P | ( | ) | const |
Gets the compulsory parameter value P.
IMPORT_C const CX509DHValidationParams * | ValidationParams | ( | ) | const |
Gets the optional validation parameters.