CDHParameters Class Reference
class CDHParameters : public CBase
|
Concrete class representing the parameters common to both a Diffie-Hellman (DH) public and private key.
Constructor & Destructor Documentation
CDHParameters(RInteger &, RInteger &)
CDHParameters(void)
IMPORT_C
|
CDHParameters
|
(
|
void
|
|
)
|
[protected]
|
CDHParameters(const CDHParameters &)
~CDHParameters(void)
IMPORT_C
|
~CDHParameters
|
(
|
void
|
|
)
|
[virtual]
|
Member Functions Documentation
G(void)
IMPORT_C const
TInteger
&
|
G
|
(
|
void
|
|
)
|
const
|
N(void)
IMPORT_C const
TInteger
&
|
N
|
(
|
void
|
|
)
|
const
|
operator=(const CDHParameters &)
Member Data Documentation
RInteger
iG
The DH parameter, g (the generator)
X = g^x mod n
(note the case sensitivity)
RInteger
iN
The DH parameter, n (a prime number)
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.