CryptoSpi::CKeyPairGeneratorFactory Class Reference

class CryptoSpi::CKeyPairGeneratorFactory

the Factory to create synchronous and asynchronous Key pair generator instances

Public Member Functions
IMPORT_C voidCreateAsyncKeyPairGeneratorL(CAsyncKeyPairGenerator *&, TUid, const CCryptoParams *)
IMPORT_C voidCreateKeyPairGeneratorL(CKeyPairGenerator *&, TUid, const CCryptoParams *)

Member Functions Documentation

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

IMPORT_C voidCreateAsyncKeyPairGeneratorL(CAsyncKeyPairGenerator *&aKeyPairGenerator,
TUidaKeyAlgorithmUid,
const CCryptoParams *aAlgorithmParams
)[static]

Creates a new asynchronous instance of a key pair generator.

Parameters

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

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

IMPORT_C voidCreateKeyPairGeneratorL(CKeyPairGenerator *&aKeyPairGenerator,
TUidaKeyAlgorithmUid,
const CCryptoParams *aAlgorithmParams
)[static]

Creates a new instance of a key pair generator.

Parameters

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