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 CX509DHValidationParams

class CX509DHValidationParams : public CBase;

Description

Validates Diffie-Hellman (DH) Domain parameters.

Provides access to the DH Validation Parameters, which are used to determine if the DH Public Key has been generated in conformance with the algorithm specified in ESDH (see RFC 2631).

Derivation

Members

Defined in CX509DHValidationParams:
NewL(), NewL(), NewLC(), NewLC(), PGenCounter(), Seed(), iPGenCounter, iSeed

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


Construction and destruction


NewL()

static IMPORT_C CX509DHValidationParams *NewL(const TDesC8 &aBinaryData);

Description

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

Parameters

const TDesC8 &aBinaryData

The encoded binary representation.

Return value

CX509DHValidationParams *

A pointer to the new CX509DHValidationParams object.


NewLC()

static IMPORT_C CX509DHValidationParams *NewLC(const TDesC8 &aBinaryData);

Description

Creates a new DH Validation 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

CX509DHValidationParams *

A pointer to the new CX509DHValidationParams object.


NewL()

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

Description

Creates a new DH Validation 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

CX509DHValidationParams *

A pointer to the new CX509DHValidationParams object.


NewLC()

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

Description

Creates a new DH Validation 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

CX509DHValidationParams *

A pointer to the new CX509DHValidationParams object.

[Top]


Member functions


Seed()

IMPORT_C const TPtrC8 Seed() const;

Description

Gets a DSA prime generation seed.

Return value

const TPtrC8

The bit string parameter used as the seed.


PGenCounter()

IMPORT_C const TInteger &PGenCounter() const;

Description

Gets the output from a DSA prime generation counter.

Return value

const TInteger &

The integer value output.

[Top]


Member data


iSeed

protected: HBufC8 * iSeed;

Description


iPGenCounter

protected: RInteger iPGenCounter;

Description