Symbian
Symbian Developer Library

SYMBIAN OS V9.4

Feedback

[Index] [Previous] [Next]

#include <x509keys.h>
Link against: x509.lib
This item is not part of the S60 5th Edition SDK

Class CX509DHDomainParams

class CX509DHDomainParams : public CBase;

Description

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

Derivation

Members

Defined in CX509DHDomainParams:

Inherited from CBase:


Construction and destruction


NewL(const TDesC8 &)

IMPORT_C 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 *

A pointer to the new CX509DHDomainParams object.


NewLC(const TDesC8 &)

IMPORT_C 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 *

A pointer to the new CX509DHDomainParams object.


NewL(const TDesC8 &,TInt &)

IMPORT_C 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.

TInt &aPos

The offset position from which to start decoding.

Return value

CX509DHDomainParams *

A pointer to the new CX509DHDomainParams object.


NewLC(const TDesC8 &,TInt &)

IMPORT_C 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.

TInt &aPos

The offset position from which to start decoding.

Return value

CX509DHDomainParams *

A pointer to the new CX509DHDomainParams object.


~CX509DHDomainParams()

virtual ~CX509DHDomainParams();

Description

Destructor.

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

[Top]


Member functions


P()const

IMPORT_C const TInteger& P() const;

Description

Gets the compulsory parameter value P.

Return value

const TInteger &

The compulsory parameter value P.


G()const

IMPORT_C const TInteger& G() const;

Description

Gets the compulsory parameter value G.

Return value

const TInteger &

The compulsory parameter value G.


Q()const

IMPORT_C const TInteger& Q() const;

Description

Gets the optional value Q.

Return value

const TInteger &

The optional value Q.


J()const

IMPORT_C const TInteger& J() const;

Description

Gets the optional value J.

Return value

const TInteger &

The optional value J.


ValidationParams()const

IMPORT_C const CX509DHValidationParams* ValidationParams() const;

Description

Gets the optional validation parameters.

Return value

const CX509DHValidationParams *

The optional validation parameters.

[Top]


Member data


iP

protected: RInteger iP;

Description


iG

protected: RInteger iG;

Description


iQ

protected: RInteger iQ;

Description


iJ

protected: RInteger iJ;

Description


iValidationParams

protected: CX509DHValidationParams * iValidationParams;

Description