MCTDH Class Reference
class MCTDH : public MCTTokenObject |
A Diffie-Hellman key agreement object.
Constructor & Destructor Documentation
MCTDH(MCTToken &)
MCTDH | ( | MCTToken & | aToken | ) | [protected, inline] |
~MCTDH()
~MCTDH | ( | ) | [protected, inline, pure virtual] |
Member Functions Documentation
Agree(const CDHPublicKey &, HBufC8 *&, TRequestStatus &)
Agrees a session key.
-
capability
- Dependent Requires the caller to have any capabilities specified in the key use security policy.
-
leave
- KErrPermissionDenied If the caller does not conform to the key use security policy.
-
leave
- KErrBadPassphrase If the user failed to enter the correct passphrase.
Parameters
const CDHPublicKey & aY | The public key of the other party. |
HBufC8 *& aAgreedKey | The returned key. A new object is created which is owned by the caller. |
TRequestStatus & aStatus | |
CancelAgreement()
void | CancelAgreement | ( | ) | [pure virtual] |
PublicKey(const TInteger &, const TInteger &, CDHPublicKey *&, TRequestStatus &)
Returns the public key ('Big X') for the supplied set of parameters.
-
capability
- Dependent Requires the caller to have any capabilities specified in the key use security policy.
-
leave
- KErrPermissionDenied If the caller does not conform to the key use security policy.
-
leave
- KErrBadPassphrase If the user failed to enter the correct passphrase.
Parameters
const TInteger & aN | The DH modulus parameter. |
const TInteger & aG | The DH generator parameter. |
CDHPublicKey *& aX | The returned public key. A new object is created which is owned by the caller. |
TRequestStatus & aStatus | |
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.