CX509DHDomainParams Class Reference

#include <x509keys.h>

Link against: x509.lib

class CX509DHDomainParams : public CBase

Inherits from

Detailed Description

Encapsulates the compulsory Diffie-Hellman domain parameter values P and G (See RFC 2459).

Since
v6.0

Member Attribute Documentation

iG

RInteger iG[protected]

iJ

RInteger iJ[protected]

iP

RInteger iP[protected]

iQ

RInteger iQ[protected]

iValidationParams

CX509DHValidationParams *iValidationParams[protected]

Constructor & Destructor Documentation

CX509DHDomainParams ( )

CX509DHDomainParams()[protected]

~CX509DHDomainParams ( )

~CX509DHDomainParams()[virtual]

Destructor.

Frees all resources owned by the object, prior to its destruction.

Member Function Documentation

ConstructL ( const TDesC8 &, TInt & )

voidConstructL(const TDesC8 &aBinaryData,
TInt &aPos
)[protected]

G ( )

IMPORT_C const TInteger &G()const

Gets the compulsory parameter value G.

Return Value
The compulsory parameter value G.

J ( )

IMPORT_C const TInteger &J()const

Gets the optional value J.

Return Value
The optional value J.

NewL ( const TDesC8 & )

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
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DHDomainParams object.

NewL ( const TDesC8 &, TInt & )

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
A pointer to the new CX509DHDomainParams object.

NewLC ( const TDesC8 & )

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
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DHDomainParams object.

NewLC ( const TDesC8 &, TInt & )

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
A pointer to the new CX509DHDomainParams object.

P ( )

IMPORT_C const TInteger &P()const

Gets the compulsory parameter value P.

Return Value
The compulsory parameter value P.

Q ( )

IMPORT_C const TInteger &Q()const

Gets the optional value Q.

Return Value
The optional value Q.

ValidationParams ( )

IMPORT_C const CX509DHValidationParams *ValidationParams()const

Gets the optional validation parameters.

Return Value
The optional validation parameters.