Symbian
 Developer Library

DEVELOPER LIBRARY

[Index] [Glossary] [Previous] [Next]



Location: x509keys.h
Link against: x500.lib

Class CX509DHPublicKey

CX509DHPublicKey

Support

Supported from 6.0

Description

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

Derivation

CBaseBase class for all classes to be instantiated on the heap
CX509DHPublicKeyProvides 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()


Construction and destruction


NewL()

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

CX509DHPublicKey*

The new DH Public key object.


NewL()

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

CX509DHPublicKey*

The new DH Public key object.


NewLC()

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

CX509DHPublicKey*

The new DH Public key object.


NewLC()

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*

The new DH Public key object.


~CX509DHPublicKey()

~CX509DHPublicKey();

Description

Destructor.

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

[Top]


Member function


Y()

const CInteger& Y() const;

Description

Gets the public key value.

Return value

CInteger&

The public key value.