Crypto++ 8.7
Free C++ class library of cryptographic schemes
|
Trapdoor Function (TF) encryptor options. More...
#include <pubkey.h>
Additional Inherited Members | |
Public Types inherited from TF_ObjectImpl< TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey > | |
typedef SCHEME_OPTIONS::PublicKey | KeyClass |
Public Types inherited from TF_ObjectImplBase< TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey > | |
typedef SCHEME_OPTIONS | SchemeOptions |
typedef SCHEME_OPTIONS::PublicKey | KeyClass |
Public Member Functions inherited from TF_ObjectImpl< TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey > | |
const KeyClass & | GetKey () const |
KeyClass & | AccessKey () |
Public Member Functions inherited from TF_ObjectImplBase< TF_EncryptorBase, SCHEME_OPTIONS, SCHEME_OPTIONS::PublicKey > | |
PublicKey & | AccessPublicKey () |
const PublicKey & | GetPublicKey () const |
PrivateKey & | AccessPrivateKey () |
const PrivateKey & | GetPrivateKey () const |
virtual const KeyClass & | GetKey () const=0 |
virtual KeyClass & | AccessKey ()=0 |
const KeyClass & | GetTrapdoorFunction () const |
PK_MessageAccumulator * | NewSignatureAccumulator (RandomNumberGenerator &rng) const |
PK_MessageAccumulator * | NewVerificationAccumulator () const |
Public Member Functions inherited from AlgorithmImpl< TF_EncryptorBase, SCHEME_OPTIONS::AlgorithmInfo > | |
std::string | AlgorithmName () const |
The algorithm name. More... | |
Public Member Functions inherited from TF_EncryptorBase | |
void | Encrypt (RandomNumberGenerator &rng, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
Encrypt a byte string. More... | |
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< PK_Encryptor > | |
size_t | MaxPlaintextLength (size_t ciphertextLength) const |
size_t | CiphertextLength (size_t plaintextLength) const |
virtual size_t | FixedMaxPlaintextLength () const=0 |
virtual size_t | FixedCiphertextLength () const=0 |
Public Member Functions inherited from PK_Encryptor | |
virtual void | Encrypt (RandomNumberGenerator &rng, const byte *plaintext, size_t plaintextLength, byte *ciphertext, const NameValuePairs ¶meters=g_nullNameValuePairs) const =0 |
Encrypt a byte string. More... | |
virtual BufferedTransformation * | CreateEncryptionFilter (RandomNumberGenerator &rng, BufferedTransformation *attachment=NULL, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
Create a new encryption filter. More... | |
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 PublicKeyAlgorithm | |
CryptoMaterial & | AccessMaterial () |
Retrieves a reference to a Public Key. More... | |
const CryptoMaterial & | GetMaterial () const |
Retrieves a reference to a Public Key. More... | |
virtual PublicKey & | AccessPublicKey ()=0 |
Retrieves a reference to a Public Key. More... | |
virtual const PublicKey & | GetPublicKey () const |
Retrieves a reference to a Public Key. More... | |
virtual CryptoMaterial & | AccessMaterial ()=0 |
Retrieves a reference to CryptoMaterial. More... | |
virtual const CryptoMaterial & | GetMaterial () 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 Clonable * | Clone () const |
Copies this object. More... | |
Static Public Member Functions inherited from AlgorithmImpl< TF_EncryptorBase, SCHEME_OPTIONS::AlgorithmInfo > | |
static std::string | StaticAlgorithmName () |
The algorithm name. More... | |
Trapdoor Function (TF) encryptor options.
SCHEME_OPTIONS | scheme options class |