#include <x509keys.h>
Link against: x509.lib
class CX509DHValidationParams : public CBase |
Protected Attributes | |
---|---|
RInteger | iPGenCounter |
HBufC8 * | iSeed |
Public Member Functions | |
---|---|
virtual | ~CX509DHValidationParams() |
IMPORT_C CX509DHValidationParams * | NewL(const TDesC8 &) |
IMPORT_C CX509DHValidationParams * | NewL(const TDesC8 &, TInt &) |
IMPORT_C CX509DHValidationParams * | NewLC(const TDesC8 &) |
IMPORT_C CX509DHValidationParams * | NewLC(const TDesC8 &, TInt &) |
IMPORT_C const TInteger & | PGenCounter() |
IMPORT_C const TPtrC8 | Seed() |
Protected Member Functions | |
---|---|
CX509DHValidationParams() | |
void | ConstructL(const TDesC8 &, TInt &) |
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).
RInteger | iPGenCounter | [protected] |
HBufC8 * | iSeed | [protected] |
CX509DHValidationParams | ( | ) | [protected] |
~CX509DHValidationParams | ( | ) | [virtual] |
Destructor.
Frees all resources owned by the object, prior to its destruction.
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 | |
---|---|
aBinaryData | The encoded binary representation. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
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 | |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
IMPORT_C const TInteger & | PGenCounter | ( | ) | const |
Gets the output from a DSA prime generation counter.
IMPORT_C const TPtrC8 | Seed | ( | ) | const |
Gets a DSA prime generation seed.