CX509DHDomainParams Class Reference

class CX509DHDomainParams : public CBase

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

Since
v6.0

Inherits from

Constructor & Destructor Documentation

CX509DHDomainParams()

CX509DHDomainParams ( ) [protected]

~CX509DHDomainParams()

~CX509DHDomainParams ( ) [virtual]

Destructor.

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

Member Functions Documentation

ConstructL(const TDesC8 &, TInt &)

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

Parameters

const TDesC8 & aBinaryData
TInt & aPos

G()

IMPORT_C const TInteger & G ( ) const

Gets the compulsory parameter value G.

J()

IMPORT_C const TInteger & J ( ) const

Gets 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

const TDesC8 & aBinaryData The encoded binary representation.

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

const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The offset position from which to start decoding.

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

const TDesC8 & aBinaryData The encoded binary representation.

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

const TDesC8 & aBinaryData The encoded binary representation.
TInt & aPos The offset position from which to start decoding.

P()

IMPORT_C const TInteger & P ( ) const

Gets the compulsory parameter value P.

Q()

IMPORT_C const TInteger & Q ( ) const

Gets the optional value Q.

ValidationParams()

IMPORT_C const CX509DHValidationParams * ValidationParams ( ) const

Gets the optional validation parameters.

Member Data Documentation

RInteger iG

RInteger iG [protected]

RInteger iJ

RInteger iJ [protected]

RInteger iP

RInteger iP [protected]

RInteger iQ

RInteger iQ [protected]

CX509DHValidationParams * iValidationParams

CX509DHValidationParams * iValidationParams [protected]