Crypto++ 8.7
Free C++ class library of cryptographic schemes
List of all members
DL_DecryptorImpl< SCHEME_OPTIONS > Class Template Reference

Discrete Log (DL) decryptor implementation. More...

#include <pubkey.h>

+ Inheritance diagram for DL_DecryptorImpl< SCHEME_OPTIONS >:

Additional Inherited Members

- Public Types inherited from DL_ObjectImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey >
typedef KEY::Element Element
 
- Public Types inherited from DL_ObjectImplBase< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey >
typedef SCHEME_OPTIONS SchemeOptions
 
typedef KEY::Element Element
 
- Public Types inherited from DL_DecryptorBase< SCHEME_OPTIONS::Element >
typedef SCHEME_OPTIONS::Element Element
 
- Public Types inherited from DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< SCHEME_OPTIONS::Element > >
typedef DL_Base< DL_PrivateKey< SCHEME_OPTIONS::Element > >::Element Element
 
- Public Member Functions inherited from DL_ObjectImplBase< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS, SCHEME_OPTIONS::PrivateKey >
PrivateKeyAccessPrivateKey ()
 
PublicKeyAccessPublicKey ()
 
const SCHEME_OPTIONS::PrivateKey & GetKey () const
 
SCHEME_OPTIONS::PrivateKey & AccessKey ()
 
- Public Member Functions inherited from AlgorithmImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS::AlgorithmInfo >
std::string AlgorithmName () const
 The algorithm name. More...
 
- Public Member Functions inherited from DL_DecryptorBase< SCHEME_OPTIONS::Element >
DecodingResult Decrypt (RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs &parameters=g_nullNameValuePairs) const
 Decrypt a byte string. More...
 
- Public Member Functions inherited from DL_CryptoSystemBase< PK_Decryptor, DL_PrivateKey< SCHEME_OPTIONS::Element > >
size_t MaxPlaintextLength (size_t ciphertextLength) const
 
size_t CiphertextLength (size_t plaintextLength) const
 
bool ParameterSupported (const char *name) const
 
- Public Member Functions inherited from PK_Decryptor
virtual DecodingResult Decrypt (RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs &parameters=g_nullNameValuePairs) const =0
 Decrypt a byte string. More...
 
virtual BufferedTransformationCreateDecryptionFilter (RandomNumberGenerator &rng, BufferedTransformation *attachment=NULL, const NameValuePairs &parameters=g_nullNameValuePairs) const
 Create a new decryption filter. More...
 
DecodingResult FixedLengthDecrypt (RandomNumberGenerator &rng, const byte *ciphertext, byte *plaintext, const NameValuePairs &parameters=g_nullNameValuePairs) const
 Decrypt a fixed size ciphertext. More...
 
- Public Member Functions inherited from PK_CryptoSystem
virtual size_t MaxPlaintextLength (size_t ciphertextLength) const =0
 Provides the maximum length of plaintext for a given ciphertext length. More...
 
virtual size_t CiphertextLength (size_t plaintextLength) const =0
 Calculate the length of ciphertext given length of plaintext. More...
 
virtual bool ParameterSupported (const char *name) const =0
 Determines whether this object supports the use of a named parameter. More...
 
virtual size_t FixedCiphertextLength () const
 Provides the fixed ciphertext length, if one exists. More...
 
virtual size_t FixedMaxPlaintextLength () const
 Provides the maximum plaintext length given a fixed ciphertext length. More...
 
- Public Member Functions inherited from PrivateKeyAlgorithm
CryptoMaterialAccessMaterial ()
 Retrieves a reference to a Private Key. More...
 
const CryptoMaterialGetMaterial () const
 Retrieves a reference to a Private Key. More...
 
virtual PrivateKeyAccessPrivateKey ()=0
 Retrieves a reference to a Private Key. More...
 
virtual const PrivateKeyGetPrivateKey () const
 Retrieves a reference to a Private Key. More...
 
virtual CryptoMaterialAccessMaterial ()=0
 Retrieves a reference to CryptoMaterial. More...
 
virtual const CryptoMaterialGetMaterial () const =0
 Retrieves a reference to CryptoMaterial. More...
 
- Public Member Functions inherited from Algorithm
 Algorithm (bool checkSelfTestStatus=true)
 Interface for all crypto algorithms. More...
 
virtual std::string AlgorithmName () const
 Provides the name of this algorithm. More...
 
virtual std::string AlgorithmProvider () const
 Retrieve the provider of this algorithm. More...
 
- Public Member Functions inherited from Clonable
virtual ClonableClone () const
 Copies this object. More...
 
- Static Public Member Functions inherited from AlgorithmImpl< DL_DecryptorBase< SCHEME_OPTIONS::Element >, SCHEME_OPTIONS::AlgorithmInfo >
static std::string StaticAlgorithmName ()
 The algorithm name. More...
 

Detailed Description

template<class SCHEME_OPTIONS>
class DL_DecryptorImpl< SCHEME_OPTIONS >

Discrete Log (DL) decryptor implementation.

Template Parameters
SCHEME_OPTIONSoptions for the scheme

Definition at line 2054 of file pubkey.h.


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