CryptoSpi::CKeyAgreementFactory Class Reference
class CryptoSpi::CKeyAgreementFactory |
the Factory to create synchronous and asynchronous keyagreement instances
Member Functions Documentation
CreateAsyncKeyAgreementL(CAsyncKeyAgreement *&, TUid, const CKey &, const CCryptoParams *)
IMPORT_C void | CreateAsyncKeyAgreementL | ( | CAsyncKeyAgreement *& | aKeyAgreement, |
| TUid | aAlgorithmUid, |
| const CKey & | aPrivateKey, |
| const CCryptoParams * | aAlgorithmParams |
| ) | [static] |
Creates a new asynchronous instance of a key agreement system.
Parameters
CAsyncKeyAgreement *& aKeyAgreement | A reference to a pointer that should be set to point to the new key agreement object. |
TUid aAlgorithmUid | The algorithm to use |
const CKey & aPrivateKey | The private key to combine with the other parties public key during the agreement. |
const CCryptoParams * aAlgorithmParams | The parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
CreateKeyAgreementL(CKeyAgreement *&, TUid, const CKey &, const CCryptoParams *)
IMPORT_C void | CreateKeyAgreementL | ( | CKeyAgreement *& | aKeyAgreement, |
| TUid | aAlgorithmUid, |
| const CKey & | aPrivateKey, |
| const CCryptoParams * | aAlgorithmParams |
| ) | [static] |
Creates a new instance of a key agreement system.
Parameters
CKeyAgreement *& aKeyAgreement | A reference to a pointer that should be set to point to the new key agreement object. |
TUid aAlgorithmUid | The algorithm to use |
const CKey & aPrivateKey | The private key to combine with the other parties public key during the agreement. |
const CCryptoParams * aAlgorithmParams | The parameters that are specific to a particular algorithm. This is for extendibility and will normally be null. |
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.