CEncryptor Class Reference

#include <asymmetric.h>

class CEncryptor : public CBase

Inherits from

  • CEncryptor

    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.

    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
    ParameterDescription
    aInputThe plaintext
    aOutputOn return, the ciphertext