|
DecodingResult | Decrypt (RandomNumberGenerator &rng, const byte *ciphertext, size_t ciphertextLength, byte *plaintext, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
| Decrypt a byte string.
|
|
size_t | MaxPlaintextLength (size_t ciphertextLength) const |
|
size_t | CiphertextLength (size_t plaintextLength) const |
|
bool | ParameterSupported (const char *name) const |
|
virtual BufferedTransformation * | CreateDecryptionFilter (RandomNumberGenerator &rng, BufferedTransformation *attachment=NULL, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
| Create a new decryption filter.
|
|
DecodingResult | FixedLengthDecrypt (RandomNumberGenerator &rng, const byte *ciphertext, byte *plaintext, const NameValuePairs ¶meters=g_nullNameValuePairs) const |
| Decrypt a fixed size ciphertext.
|
|
virtual size_t | FixedCiphertextLength () const |
| Provides the fixed ciphertext length, if one exists.
|
|
virtual size_t | FixedMaxPlaintextLength () const |
| Provides the maximum plaintext length given a fixed ciphertext length.
|
|
CryptoMaterial & | AccessMaterial () |
| Retrieves a reference to a Private Key.
|
|
const CryptoMaterial & | GetMaterial () const |
| Retrieves a reference to a Private Key.
|
|
virtual PrivateKey & | AccessPrivateKey ()=0 |
| Retrieves a reference to a Private Key.
|
|
virtual const PrivateKey & | GetPrivateKey () const |
| Retrieves a reference to a Private Key.
|
|
| Algorithm (bool checkSelfTestStatus=true) |
| Interface for all crypto algorithms.
|
|
virtual std::string | AlgorithmName () const |
| Provides the name of this algorithm.
|
|
virtual std::string | AlgorithmProvider () const |
| Retrieve the provider of this algorithm.
|
|
virtual Clonable * | Clone () const |
| Copies this object.
|
|
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.