CEncryptor Class Reference

#include <asymmetric.h>

class CEncryptor : public CBase, public MCryptoSystem

Inherits from

Detailed Description

Abstract base class for all public key encryptors.

Constructor & Destructor Documentation

CEncryptor ( void )

IMPORT_CCEncryptor(void)[protected]

Default constructor

Member Function Documentation

EncryptL ( const TDesC8 &, TDes8 & )

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

Encrypts the specified plaintext into ciphertext.

Parameters
aInputThe plaintext
aOutputOn return, the ciphertext
Panic Codes
KCryptoPanicIf the input data is too long. See ECryptoPanicInputTooLarge
KCryptoPanicIf the supplied output descriptor is not large enough to store the result. See ECryptoPanicOutputDescriptorOverflow