CX509DHValidationParams Class Reference

#include <x509keys.h>

Link against: x509.lib

class CX509DHValidationParams : public CBase

Inherits from

  • CX509DHValidationParams

Detailed 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).

Since
v6.0

Member Attribute Documentation

iPGenCounter

RInteger iPGenCounter[protected]

iSeed

HBufC8 *iSeed[protected]

Constructor & Destructor Documentation

CX509DHValidationParams ( )

CX509DHValidationParams()[protected]

~CX509DHValidationParams ( )

~CX509DHValidationParams()[virtual]

Destructor.

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

Member Function Documentation

ConstructL ( const TDesC8 &, TInt & )

voidConstructL(const TDesC8 &aBinaryData,
TInt &aPos
)[protected]

NewL ( const TDesC8 & )

IMPORT_C CX509DHValidationParams *NewL(const TDesC8 &aBinaryData)[static]

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

Parameters
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DHValidationParams object.

NewL ( const TDesC8 &, TInt & )

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

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

Parameters
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
A pointer to the new CX509DHValidationParams object.

NewLC ( const TDesC8 & )

IMPORT_C CX509DHValidationParams *NewLC(const TDesC8 &aBinaryData)[static]

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
aBinaryDataThe encoded binary representation.
Return Value
A pointer to the new CX509DHValidationParams object.

NewLC ( const TDesC8 &, TInt & )

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

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
aBinaryDataThe encoded binary representation.
aPosThe offset position from which to start decoding.
Return Value
A pointer to the new CX509DHValidationParams object.

PGenCounter ( )

IMPORT_C const TInteger &PGenCounter()const

Gets the output from a DSA prime generation counter.

Return Value
The integer value output.

Seed ( )

IMPORT_C const TPtrC8Seed()const

Gets a DSA prime generation seed.

Return Value
The bit string parameter used as the seed.