CryptoSpi::MAsyncKeyAgreement Class Reference
class CryptoSpi::MAsyncKeyAgreement : public CryptoSpi::MPlugin |
Inherits from
- CryptoSpi::MAsyncKeyAgreement
Member Functions Documentation
AgreeL(const CKey &, CKey &, const CCryptoParams *, TRequestStatus &)
Performs the key agreement operation.
- leave
- ... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.
Parameters
const CKey & aOtherPublicKey | The public key of the other party |
CKey & aKey | A pointer to a CKey instance containing the agreed key |
const CCryptoParams * aParams | The parameters shared between both parties |
TRequestStatus & aRequestStatus | |
Cancel()
void | Cancel | ( | ) | [pure virtual] |
Cancel the outstanding request
SetKeyL(const CKey &, const CCryptoParams *)
void | SetKeyL | ( | const CKey & | aSelfPrivateKey, |
| const CCryptoParams * | aParams |
| ) | [pure virtual] |
Set the private key for this keyagreement.
Reset() is called to reinitialize the keyAgreement
- leave
- ... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.
Parameters
const CKey & aSelfPrivateKey | The private key of one of the parties |
const CCryptoParams * aParams | The parameters shared between both parties |
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.