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 CX509DHPublicKey

class CX509DHPublicKey : public CDHPublicKey;

Description

Provides clients with the information they need for Diffie-Hellman key exchange within a protocol.

Derivation

Members

Defined in CX509DHPublicKey:


Construction and destruction


NewL(const TDesC8 &,const TDesC8 &)

IMPORT_C static CX509DHPublicKey* NewL(const TDesC8 &aParamsData, const TDesC8 &aKeyData);

Description

Creates a new CX509DHPublicKey object from the specified buffer containing the encoded binary representation.

Parameters

const TDesC8 &aParamsData

A non-modifiable descriptor representing the entire encoding.

const TDesC8 &aKeyData

Return value

CX509DHPublicKey *

A pointer to the new CX509DHPublicKey object.


NewLC(const TDesC8 &,const TDesC8 &)

IMPORT_C static CX509DHPublicKey* NewLC(const TDesC8 &aParamsData, const TDesC8 &aKeyData);

Description

Creates a new CX509DHPublicKey object from the specified buffer containing the encoded binary representation, and puts a pointer to it onto the cleanup stack.

Parameters

const TDesC8 &aParamsData

A non-modifiable descriptor representing the entire encoding.

const TDesC8 &aKeyData

Return value

CX509DHPublicKey *

A pointer to the new CX509DHPublicKey object.


~CX509DHPublicKey()

IMPORT_C virtual ~CX509DHPublicKey();

Description

Destructor.

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