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()

void CancelDecrypt ( ) [pure virtual]

Cancel an ongoing Decrypt() operation.

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

void Decrypt ( 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 & aCiphertext The data to decrypt
TDes8 & aPlaintext The returned plaintext
TRequestStatus & aStatus