#include <x509keys.h>
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).
~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.
Returns: 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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: A pointer to the new CX509DHDomainParams object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: A pointer to the new CX509DHDomainParams object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: A pointer to the new CX509DHDomainParams object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: A pointer to the new CX509DHDomainParams object.
IMPORT_C const TInteger & | P | ( | ) | const |
Gets the compulsory parameter value P.
Returns: The compulsory parameter value P.
IMPORT_C const CX509DHValidationParams * | ValidationParams | ( | ) | const |
Gets the optional validation parameters.
Returns: The optional validation parameters.