Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509keys.h
Link against: x500.lib

Class CX509DHDomainParams

CX509DHDomainParams

Support

Supported from 6.0

Description

Consists of compulsory parameter values P and G.

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509DHDomainParamsConsists of compulsory parameter values P and G

Defined in CX509DHDomainParams:
G(), J(), NewL(), NewL(), NewLC(), NewLC(), P(), Q(), ValidationParams(), ~CX509DHDomainParams()

Inherited from CBase:
operator new()


Construction and destruction


NewL()

static CX509DHDomainParams* NewL(const TDesC8& aBinaryData);

Description

Creates a new DH Domain parameters object from the specified buffer containing the encoded binary representation.

Parameters

const TDesC8& aBinaryData

The encoded binary representation.

Return value

CX509DHDomainParams*

The new DH Domain parameters object.


NewL()

static CX509DHDomainParams* NewL(const TDesC8& aBinaryData, TInt& aPos);

Description

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.

const TInt& aPos

The offset position from which to start decoding.

Return value

CX509DHDomainParams*

The new DH Domain parameters object.


NewLC()

static CX509DHDomainParams* NewLC(const TDesC8& aBinaryData, TInt& aPos);

Description

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.

const TInt& aPos

The offset position from which to start decoding.

Return value

CX509DHDomainParams*

The new DH Domain parameters object.


NewLC()

static CX509DHDomainParams* NewLC(const TDesC8& aBinaryData);

Description

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.

Return value

CX509DHDomainParams*

The new DH Domain parameters object.


~CX509DHDomainParams()

~CX509DHDomainParams();

Description

Destructor.

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

[Top]


Member functions


P()

const CInteger& P() const;

Description

Gets the compulsory parameter value P.

Return value

CInteger&

The compulsory parameter value P.


G()

const CInteger& G() const;

Description

Gets the compulsory parameter value G.

Return value

CInteger&

The compulsory parameter value G.


Q()

const CInteger* Q() const;  

Description

Gets the optional value Q.

Return value

CInteger*

The optional value Q.


J()

const CInteger* J() const;  

Description

Gets the optional value J.

Return value

CInteger*

The optional value J.


ValidationParams()

const CX509DHValidationParams* ValidationParams() const;

Description

Gets the optional validation parameters.

Return value

CX509DHValidationParams*

The optional validation parameters.