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 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:

Inherited from CBase:


Construction and destruction


NewL(const TDesC8 &)

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

IMPORT_C static 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(const TDesC8 &,TInt &)

IMPORT_C static 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(const TDesC8 &,TInt &)

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


~CX509DHValidationParams()

virtual ~CX509DHValidationParams();

Description

Destructor.

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

[Top]


Member functions


Seed()const

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()const

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