CDHPublicKey Class Reference
class CDHPublicKey : public CDHParameters
|
Representation of a Diffie-Hellman (DH) public key.
Constructor & Destructor Documentation
CDHPublicKey(RInteger &, RInteger &, RInteger &)
Parameters
RInteger
& aN
|
The DH parameter, n (a large prime)
|
RInteger
& aG
|
The DH parameter, g (the generator)
|
RInteger
& aX
|
The DH value, X
|
CDHPublicKey(void)
IMPORT_C
|
CDHPublicKey
|
(
|
void
|
|
)
|
[protected]
|
CDHPublicKey(const CDHPublicKey &)
~CDHPublicKey(void)
IMPORT_C
|
~CDHPublicKey
|
(
|
void
|
|
)
|
[virtual]
|
Member Functions Documentation
NewL(RInteger &, RInteger &, RInteger &)
Creates a new DH public key from a specified large prime, generator, and random large integer.
Parameters
RInteger
& aN
|
The DH parameter, n (a large prime)
|
RInteger
& aG
|
The DH parameter, g (the generator)
|
RInteger
& aX
|
The DH value, X
|
NewLC(RInteger &, RInteger &, RInteger &)
Creates a new DH public key from a specified large prime, generator, and random large integer.
The returned pointer is put onto the cleanup stack.
Parameters
RInteger
& aN
|
The DH parameter, n (a large prime)
|
RInteger
& aG
|
The DH parameter, g (the generator)
|
RInteger
& aX
|
The DH value, X
|
X(void)
IMPORT_C const
TInteger
&
|
X
|
(
|
void
|
|
)
|
const
|
operator=(const CDHPublicKey &)
Member Data Documentation
RInteger
iX
The DH value, X
X = g^x mod n
(note the case sensitivity)
Copyright ©2010 Nokia Corporation and/or its subsidiary(-ies).
All rights
reserved. Unless otherwise stated, these materials are provided under the terms of the Eclipse Public License
v1.0.