CEncryptor Class Reference

class CEncryptor : public CBase

Abstract base class for all public key encryptors.

Inherits from

Constructor & Destructor Documentation

CEncryptor(void)

IMPORT_C CEncryptor ( void ) [protected]

Default constructor

Parameters

void

CEncryptor(const CEncryptor &)

CEncryptor ( const CEncryptor & ) [private]

Parameters

const CEncryptor &

Member Functions Documentation

EncryptL(const TDesC8 &, TDes8 &)

void EncryptL ( const TDesC8 & aInput,
TDes8 & aOutput
) const [pure virtual]

Encrypts the specified plaintext into ciphertext.

panic
KCryptoPanic If the input data is too long. See ECryptoPanicInputTooLarge
panic
KCryptoPanic If the supplied output descriptor is not large enough to store the result. See ECryptoPanicOutputDescriptorOverflow

Parameters

const TDesC8 & aInput The plaintext
TDes8 & aOutput On return, the ciphertext

operator=(const CEncryptor &)

CEncryptor & operator= ( const CEncryptor & ) [private]

Parameters

const CEncryptor &