Security Scol plugin
Public Member Functions | List of all members
TF_EncryptorBase Class Reference

Trapdoor function cryptosystems encryption base class. More...

#include <pubkey.h>

Inheritance diagram for TF_EncryptorBase:
TF_CryptoSystemBase< PK_Encryptor, TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod > > PK_FixedLengthCryptoSystemImpl< BASE > TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod > AlgorithmImpl< TF_EncryptorBase, SCHEME_OPTIONS::AlgorithmInfo >

Public Member Functions

void Encrypt (RandomNumberGenerator &rng, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs &parameters=g_nullNameValuePairs) const
 
- Public Member Functions inherited from TF_CryptoSystemBase< PK_Encryptor, TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod > >
bool ParameterSupported (const char *name) const
 
size_t FixedMaxPlaintextLength () const
 
size_t FixedCiphertextLength () const
 
- Public Member Functions inherited from PK_FixedLengthCryptoSystemImpl< BASE >
size_t MaxPlaintextLength (size_t ciphertextLength) const
 
size_t CiphertextLength (size_t plaintextLength) const
 

Additional Inherited Members

- Protected Types inherited from TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod >
typedef RandomizedTrapdoorFunction TrapdoorFunctionInterface
 
typedef PK_EncryptionMessageEncodingMethod MessageEncodingInterface
 
- Protected Member Functions inherited from TF_CryptoSystemBase< PK_Encryptor, TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod > >
size_t PaddedBlockByteLength () const
 
size_t PaddedBlockBitLength () const
 
- Protected Member Functions inherited from TF_Base< RandomizedTrapdoorFunction, PK_EncryptionMessageEncodingMethod >
virtual const TrapdoorFunctionBoundsGetTrapdoorFunctionBounds () const=0
 
virtual const TrapdoorFunctionInterfaceGetTrapdoorFunctionInterface () const=0
 
virtual const MessageEncodingInterfaceGetMessageEncodingInterface () const=0
 

Detailed Description

Trapdoor function cryptosystems encryption base class.

Definition at line 292 of file pubkey.h.

Constructor & Destructor Documentation

◆ ~TF_EncryptorBase()

virtual TF_EncryptorBase::~TF_EncryptorBase ( )
inlinevirtual

Definition at line 295 of file pubkey.h.

Member Function Documentation

◆ Encrypt()

void TF_EncryptorBase::Encrypt ( RandomNumberGenerator rng,
const byte plaintext,
size_t  plaintextLength,
byte ciphertext,
const NameValuePairs parameters = g_nullNameValuePairs 
) const

Definition at line 153 of file pubkey.cpp.


The documentation for this class was generated from the following files: