CryptoSpi::CKeyPairGeneratorFactory Class Reference

class CryptoSpi::CKeyPairGeneratorFactory

the Factory to create synchronous and asynchronous Key pair generator instances

Public Member Functions
IMPORT_C void CreateAsyncKeyPairGeneratorL (CAsyncKeyPairGenerator *&, TUid , const CCryptoParams *)
IMPORT_C void CreateKeyPairGeneratorL (CKeyPairGenerator *&, TUid , const CCryptoParams *)

Member Functions Documentation

CreateAsyncKeyPairGeneratorL(CAsyncKeyPairGenerator *&, TUid, const CCryptoParams *)

IMPORT_C void CreateAsyncKeyPairGeneratorL ( CAsyncKeyPairGenerator *& aKeyPairGenerator,
TUid aKeyAlgorithmUid,
const CCryptoParams * aAlgorithmParams
) [static]

Creates a new asynchronous instance of a key pair generator.

Parameters

CAsyncKeyPairGenerator *& aKeyPairGenerator A reference to a pointer that should be set to point to the new asymmetric key pair generator object.
TUid aKeyAlgorithmUid The algorithm UID
const CCryptoParams * aAlgorithmParams The parameters that are specific to a particular algorithm. This is for extendibility and will normally be null.

CreateKeyPairGeneratorL(CKeyPairGenerator *&, TUid, const CCryptoParams *)

IMPORT_C void CreateKeyPairGeneratorL ( CKeyPairGenerator *& aKeyPairGenerator,
TUid aKeyAlgorithmUid,
const CCryptoParams * aAlgorithmParams
) [static]

Creates a new instance of a key pair generator.

Parameters

CKeyPairGenerator *& aKeyPairGenerator A reference to a pointer that should be set to point to the new asymmetric key pair generator object.
TUid aKeyAlgorithmUid The algorithm UID
const CCryptoParams * aAlgorithmParams The parameters that are specific to a particular algorithm. This is for extendibility and will normally be null.