|
DecodingResult | Decrypt (RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
| Decrypt a byte string. More...
|
|
size_t | MaxPlaintextLength (size_t ciphertextLength) const |
|
size_t | CiphertextLength (size_t plaintextLength) const |
|
bool | ParameterSupported (const char *name) const |
|
virtual DecodingResult | Decrypt (RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters=g_nullNameValuePairs) const =0 |
| Decrypt a byte string. More...
|
|
virtual BufferedTransformation * | CreateDecryptionFilter (RandomNumberGenerator &rng, BufferedTransformation *attachment=NULL, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
| Create a new decryption filter. More...
|
|
DecodingResult | FixedLengthDecrypt (RandomNumberGenerator &rng, const byte *ciphertext, byte *plaintext, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
| Decrypt a fixed size ciphertext. 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...
|
|
CryptoMaterial & | AccessMaterial () |
| Retrieves a reference to a Private Key. More...
|
|
const CryptoMaterial & | GetMaterial () const |
| Retrieves a reference to a Private Key. More...
|
|
virtual PrivateKey & | AccessPrivateKey ()=0 |
| Retrieves a reference to a Private Key. More...
|
|
virtual const PrivateKey & | GetPrivateKey () const |
| Retrieves a reference to a Private Key. More...
|
|
virtual CryptoMaterial & | AccessMaterial ()=0 |
| Retrieves a reference to CryptoMaterial. More...
|
|
virtual const CryptoMaterial & | GetMaterial () const =0 |
| Retrieves a reference to CryptoMaterial. More...
|
|
| 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...
|
|
virtual Clonable * | Clone () const |
| Copies this object. More...
|
|
template<class T>
class DL_DecryptorBase< T >
Discrete Log (DL) decryptor base implementation.
- Template Parameters
-
T | Field element type or class |
Field element T
can be Integer, ECP or EC2N.
Definition at line 1830 of file pubkey.h.