Symbian
Symbian OS Library

SYMBIAN OS V9.3

[Index] [Spacer] [Previous] [Next]



Location: x509keys.h
Link against: x509.lib

This item is not part of the S60 3rd Edition SDK for Symbian OS, Feature Pack 2.

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:
G(), J(), NewL(), NewL(), NewLC(), NewLC(), P(), Q(), ValidationParams(), iG, iJ, iP, iQ, iValidationParams

Inherited from CBase:
Delete(), Extension_(), operator new()


Construction and destruction


NewL()

static IMPORT_C 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()

static IMPORT_C 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()

static IMPORT_C 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()

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

[Top]


Member functions


P()

IMPORT_C const TInteger &P() const;

Description

Gets the compulsory parameter value P.

Return value

const TInteger &

The compulsory parameter value P.


G()

IMPORT_C const TInteger &G() const;

Description

Gets the compulsory parameter value G.

Return value

const TInteger &

The compulsory parameter value G.


Q()

IMPORT_C const TInteger &Q() const;

Description

Gets the optional value Q.

Return value

const TInteger &

The optional value Q.


J()

IMPORT_C const TInteger &J() const;

Description

Gets the optional value J.

Return value

const TInteger &

The optional value J.


ValidationParams()

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