#include <x509keys.h>
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).
~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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: A pointer to the new CX509DHValidationParams object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: A pointer to the new CX509DHValidationParams object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
Returns: A pointer to the new CX509DHValidationParams object.
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.
Parameter | Description |
---|---|
aBinaryData | The encoded binary representation. |
aPos | The offset position from which to start decoding. |
Returns: A pointer to the new CX509DHValidationParams object.
IMPORT_C const TInteger & | PGenCounter | ( | ) | const |
Gets the output from a DSA prime generation counter.
Returns: The integer value output.
IMPORT_C const TPtrC8 | Seed | ( | ) | const |
Gets a DSA prime generation seed.
Returns: The bit string parameter used as the seed.