CryptoSpi::MAsyncKeyPairGenerator Class Reference

class CryptoSpi::MAsyncKeyPairGenerator : public CryptoSpi::MPlugin

Inherits from

Member Functions Documentation

Cancel()

voidCancel()[pure virtual]

Cancel the outstanding request

GenerateKeyPairL(TInt, const CCryptoParams &, CKeyPair *&, TRequestStatus &)

voidGenerateKeyPairL(TIntaKeySize,
const CCryptoParams &aKeyParameters,
CKeyPair *&aKeyPair,
TRequestStatus &aRequestStatus
)[pure virtual]
Generates a key pair
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

TInt aKeySizeThe algorithm-specific metric as a number of bits
const CCryptoParams & aKeyParametersThe list of algorithm-specific parameters used by the generator to generate the key pair
CKeyPair *& aKeyPairThe generated key pair
TRequestStatus & aRequestStatus