Location:
x509keys.h
Link against: x500.lib
CX509DHPublicKey
Support
Supported from 6.0
Description
Provides clients with the information they need for Diffie-Hellman key exchange within a protocol.
Derivation
CBase | Base class for all classes to be instantiated on the heap |
CX509DHPublicKey | Provides clients with the information they need for Diffie-Hellman key exchange within a protocol |
|
Defined in CX509DHPublicKey:
NewL(), NewL(), NewLC(), NewLC(), Y(), ~CX509DHPublicKey()
Inherited from CBase:
operator new()
static CX509DHPublicKey* NewL(const TDesC8& aBinaryData);
Description
Creates a new DH Public key object from the specified buffer containing the encoded binary
representation.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
|
Return value
static CX509DHPublicKey* NewL(const TDesC8& aBinaryData, TInt& aPos);
Description
Creates a new DH Public key object from the specified buffer containing the encoded binary
representation, starting at the specified offset.
Parameters
const TDesC8& aBinaryData |
The encoded binary representation. |
const TInt& aPos |
The offset position from which to start decoding. |
|
Return value
static CX509DHPublicKey* NewLC(const TDesC8& aBinaryData, TInt& aPos);
Description
Creates a new DH Public key 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. |
const TInt& aPos |
The offset position from which to start decoding. |
|
Return value
static CX509DHPublicKey* NewLC(const TDesC8& aBinaryData);
Description
Creates a new DH Public key 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
~CX509DHPublicKey();
Description
Destructor.
Frees all resources owned by the object, prior to its destruction.
const CInteger& Y() const;
Description
Gets the public key value.
Return value
CInteger& |
The public key value. |
|