CryptoSpi::MAsyncKeyPairGenerator Class Reference

class CryptoSpi::MAsyncKeyPairGenerator : public CryptoSpi::MPlugin

Inherits from

Member Functions Documentation

Cancel()

void Cancel ( ) [pure virtual]

Cancel the outstanding request

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

void GenerateKeyPairL ( TInt aKeySize,
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 aKeySize The algorithm-specific metric as a number of bits
const CCryptoParams & aKeyParameters The list of algorithm-specific parameters used by the generator to generate the key pair
CKeyPair *& aKeyPair The generated key pair
TRequestStatus & aRequestStatus