|
| | Asymmetric (const Algorithm::Asymmetric &algorithm, const KeyPair &key_pair) noexcept |
| | Constructs an Asymmetric instance with a specified algorithm and key pair.
|
| |
| | Asymmetric (const Algorithm::Asymmetric &algorithm, KeyPair &&key_pair) noexcept |
| | Constructs an Asymmetric instance with a specified algorithm and key pair (move version).
|
| |
| | Asymmetric (const Asymmetric &crypter)=default |
| | Copy constructor for the Asymmetric class.
|
| |
| | Asymmetric (Asymmetric &&crypter) noexcept=default |
| | Move constructor for the Asymmetric class.
|
| |
|
| ~Asymmetric () noexcept override=default |
| | Destructor for the Asymmetric class.
|
| |
| Asymmetric & | operator= (const Asymmetric &crypter)=default |
| | Copy assignment operator for the Asymmetric class.
|
| |
| Asymmetric & | operator= (Asymmetric &&crypter) noexcept=default |
| | Move assignment operator for the Asymmetric class.
|
| |
| Expected< std::string, Exception > | Encrypt (const std::string &input) const noexcept override |
| | Encrypts a string input using the asymmetric encryption algorithm.
|
| |
| Expected< Buffer::Simple, Exception > | Encrypt (const Buffer::Simple &buffer) const noexcept override |
| | Encrypts a buffer using the asymmetric encryption algorithm.
|
| |
| Buffer::Consumer | Encrypt (const Buffer::Consumer consumer) const noexcept override |
| | Encrypts data asynchronously using a Consumer/Producer model.
|
| |
| Expected< std::string, Exception > | Decrypt (const std::string &input) const noexcept override |
| | Decrypts a string input using the asymmetric encryption algorithm.
|
| |
| Expected< Buffer::Simple, Exception > | Decrypt (const Buffer::Simple &buffer) const noexcept override |
| | Decrypts a buffer using the asymmetric encryption algorithm.
|
| |
| Buffer::Consumer | Decrypt (const Buffer::Consumer consumer) const noexcept override |
| | Decrypts data asynchronously using a Consumer/Producer model.
|
| |
| const KeyPair & | KeyPair () const noexcept |
| | Returns the key pair associated with this Asymmetric instance.
|
| |
|
| Crypter () noexcept=default |
| | Default constructor for the Crypter class.
|
| |
| | Crypter (const Crypter &crypter)=default |
| | Copy constructor for the Crypter class.
|
| |
| | Crypter (Crypter &&crypter) noexcept=default |
| | Move constructor for the Crypter class.
|
| |
|
virtual | ~Crypter () noexcept=default |
| | Virtual destructor for the Crypter class.
|
| |
| Crypter & | operator= (const Crypter &crypter)=default |
| | Copy assignment operator for the Crypter class.
|
| |
| Crypter & | operator= (Crypter &&crypter) noexcept=default |
| | Move assignment operator for the Crypter class.
|
| |
A class for managing asymmetric encryption and decryption.
This class provides methods for encrypting and decrypting data using asymmetric encryption algorithms.