MCTDecryptor Class Reference

class MCTDecryptor : public MCTTokenObject

A Decryptor. To do a private decrypt, you need to get one of these objects.

Inherits from

Constructor & Destructor Documentation

MCTDecryptor(MCTToken &)

MCTDecryptor(MCTToken &aToken)[protected, inline]

Parameters

MCTToken & aToken

~MCTDecryptor()

~MCTDecryptor()[protected, inline, pure virtual]

Member Functions Documentation

CancelDecrypt()

voidCancelDecrypt()[pure virtual]

Cancel an ongoing Decrypt() operation.

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

voidDecrypt(const TDesC8 &aCiphertext,
TDes8 &aPlaintext,
TRequestStatus &aStatus
)[pure virtual]

Do a private decrypt.

capability
Dependent Requires the caller to have any capabilities specified in the key use security policy.
leave
KErrPermissionDenied If the caller does not conform to the key use security policy.
leave
KErrBadPassphrase If the user failed to enter the correct passphrase.

Parameters

const TDesC8 & aCiphertextThe data to decrypt
TDes8 & aPlaintextThe returned plaintext
TRequestStatus & aStatus