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

Trapdoor function cryptosystems decryption base class. More...

#include <pubkey.h>

Inheritance diagram for TF_DecryptorBase:
TF_CryptoSystemBase< PK_Decryptor, TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod > > PK_FixedLengthCryptoSystemImpl< BASE > TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod > AlgorithmImpl< TF_DecryptorBase, SCHEME_OPTIONS::AlgorithmInfo >

Public Member Functions

DecodingResult Decrypt (RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs &parameters=g_nullNameValuePairs) const
 
- Public Member Functions inherited from TF_CryptoSystemBase< PK_Decryptor, TF_Base< TrapdoorFunctionInverse, 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< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod >
typedef TrapdoorFunctionInverse TrapdoorFunctionInterface
 
typedef PK_EncryptionMessageEncodingMethod MessageEncodingInterface
 
- Protected Member Functions inherited from TF_CryptoSystemBase< PK_Decryptor, TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod > >
size_t PaddedBlockByteLength () const
 
size_t PaddedBlockBitLength () const
 
- Protected Member Functions inherited from TF_Base< TrapdoorFunctionInverse, PK_EncryptionMessageEncodingMethod >
virtual const TrapdoorFunctionBoundsGetTrapdoorFunctionBounds () const=0
 
virtual const TrapdoorFunctionInterfaceGetTrapdoorFunctionInterface () const=0
 
virtual const MessageEncodingInterfaceGetMessageEncodingInterface () const=0
 

Detailed Description

Trapdoor function cryptosystems decryption base class.

Definition at line 283 of file pubkey.h.

Constructor & Destructor Documentation

◆ ~TF_DecryptorBase()

virtual TF_DecryptorBase::~TF_DecryptorBase ( )
inlinevirtual

Definition at line 286 of file pubkey.h.

Member Function Documentation

◆ Decrypt()

DecodingResult TF_DecryptorBase::Decrypt ( RandomNumberGenerator rng,
const byte ciphertext,
size_t  ciphertextLength,
byte plaintext,
const NameValuePairs parameters = g_nullNameValuePairs 
) const

Definition at line 140 of file pubkey.cpp.


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