CryptoSpi::MAsyncSymmetricCipher Class Reference

class CryptoSpi::MAsyncSymmetricCipher : public CryptoSpi::MSymmetricCipherBase

Inherits from

Member Functions Documentation

Cancel()

voidCancel()[pure virtual]

Cancel the outstanding request

ProcessFinalL(const TDesC8 &, TDes8 &, TRequestStatus &)

voidProcessFinalL(const TDesC8 &aInput,
TDes8 &aOutput,
TRequestStatus &aRequestStatus
)[pure virtual]
Asynchronously Pads aInput to be block aligned using the underlying padding system, the encrypts or decrypts the input data, and appends the result to aOutput
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

const TDesC8 & aInputThe input buffer to be encrypted or decrypted.
TDes8 & aOutputThe resulting, padded, processed data is appended to aOutput.
TRequestStatus & aRequestStatus

ProcessL(const TDesC8 &, TDes8 &, TRequestStatus &)

voidProcessL(const TDesC8 &aInput,
TDes8 &aOutput,
TRequestStatus &aRequestStatus
)[pure virtual]
Encrypts or decrypts aInput and appends the result to aOutput asynchronously
leave
... Any of the crypto error codes defined in cryptospi_errs.h or any of the system-wide error codes.

Parameters

const TDesC8 & aInputThe input data to be processed.
TDes8 & aOutputThe resulting processed data appended to aOutput.
TRequestStatus & aRequestStatus