118 RSA& operator=(const
RSA& other) = default;
125 RSA& operator=(
RSA&& other) noexcept = default;
147 bool DoSign(
std::span<const
std::
byte> input,
Buffer::WriteOnly& output) const noexcept override;
163 bool DoVerify(
std::span<const
std::
byte> input,
std::string_view signature) const noexcept override;
172 bool DoVerify(
Buffer::Consumer consumer,
std::string_view signature,
ReadMode mode) const noexcept override;
RSA keypair.
Definition rsa.hxx:71
Generic(const Generic &other)=default
Copy constructor.
PointerType Clone() const noexcept override
Clone this signer.
RSA(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition rsa.hxx:79
~RSA() noexcept
Destructor.
RSA(KeyPair::RSA &&keypair)
Construct by moving an RSA keypair.
Definition rsa.hxx:93
RSA(const KeyPair::RSA &keypair)
Construct by cloning an RSA keypair.
Definition rsa.hxx:86
PointerType Move() noexcept override
Move this signer into a new instance.
RSA(RSA &&other) noexcept=default
Move constructor.
RSA(const RSA &other)=default
Copy constructor.
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Signers of the Crypto module.
Crypto module of the StormByte suite.
Definition aead.hxx:53
ReadMode
How a source buffer is consumed.
Definition typedefs.hxx:57
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53