Crypto++
5.6.4
Free C++ class library of cryptographic schemes
|
Interface for public-key encryptors and decryptors. More...
Public Member Functions | |
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... | |
Interface for public-key encryptors and decryptors.
This class provides an interface common to encryptors and decryptors for querying their plaintext and ciphertext lengths.
Definition at line 2306 of file cryptlib.h.
|
pure virtual |
Provides the maximum length of plaintext for a given ciphertext length.
|
pure virtual |
Calculate the length of ciphertext given length of plaintext.
|
pure virtual |
Determines whether this object supports the use of a named parameter.
name | the name of the parameter |
|
inlinevirtual |
Provides the fixed ciphertext length, if one exists.
Definition at line 2332 of file cryptlib.h.
|
inlinevirtual |
Provides the maximum plaintext length given a fixed ciphertext length.
Definition at line 2339 of file cryptlib.h.