|
| | RSA (KeyPair::Generic::PointerType keypair) |
| | Constructor.
|
| |
| | RSA (const KeyPair::RSA &keypair) |
| | Constructor.
|
| |
| | RSA (KeyPair::RSA &&keypair) |
| | Constructor.
|
| |
| | RSA (const RSA &other)=default |
| | Copy constructor.
|
| |
| | RSA (RSA &&other) noexcept=default |
| | Move constructor.
|
| |
|
| ~RSA () noexcept=default |
| | Virtual destructor.
|
| |
| RSA & | operator= (const RSA &other)=default |
| | Copy assignment operator.
|
| |
| RSA & | operator= (RSA &&other) noexcept=default |
| | Move assignment operator.
|
| |
| PointerType | Clone () const noexcept override |
| | Clone the RSA signer.
|
| |
| PointerType | Move () noexcept override |
| | Move the RSA signer.
|
| |
| | Generic (const Generic &other)=default |
| | Copy constructor.
|
| |
| | Generic (Generic &&other) noexcept=default |
| | Move constructor.
|
| |
|
virtual | ~Generic () noexcept=default |
| | Virtual destructor.
|
| |
| Generic & | operator= (const Generic &other)=default |
| | Copy assignment operator.
|
| |
| Generic & | operator= (Generic &&other) noexcept=default |
| | Move assignment operator.
|
| |
| KeyPair::Generic::PointerType | KeyPair () const noexcept |
| | Gets the keypair used for asymmetric encryption.
|
| |
| bool | Sign (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Sign data from input span to output buffer.
|
| |
| bool | Sign (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Sign data from input buffer to output buffer.
|
| |
| bool | Sign (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Sign data from input buffer to output buffer, moving the input data.
|
| |
| Buffer::Consumer | Sign (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Sign data from a Consumer buffer.
|
| |
| bool | Verify (std::span< const std::byte > input, const std::string &signature) const noexcept |
| | Verify data from input span to output buffer.
|
| |
| bool | Verify (const Buffer::ReadOnly &input, const std::string &signature) const noexcept |
| | Verify data from input buffer to output buffer.
|
| |
| bool | Verify (Buffer::ReadOnly &input, const std::string &signature) const noexcept |
| | Verify data from input buffer to output buffer, moving the input data.
|
| |
| bool | Verify (Buffer::Consumer consumer, const std::string &signature, ReadMode mode=ReadMode::Move) const noexcept |
| | Verify data from a Consumer buffer.
|
| |
A generic signer signer class.