CEncryptor Class Reference

class CEncryptor : public CBase

Abstract base class for all public key encryptors.

Inherits from

Constructor & Destructor Documentation

CEncryptor(void)

IMPORT_CCEncryptor(void)[protected]

Default constructor

Parameters

void

CEncryptor(const CEncryptor &)

CEncryptor(const CEncryptor &)[private]

Parameters

const CEncryptor &

Member Functions Documentation

EncryptL(const TDesC8 &, TDes8 &)

voidEncryptL(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 & aInputThe plaintext
TDes8 & aOutputOn return, the ciphertext

operator=(const CEncryptor &)

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

Parameters

const CEncryptor &