118 DSA& operator=(const
DSA& other) = default;
125 DSA& operator=(
DSA&& 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;
DSA keypair.
Definition dsa.hxx:71
DSA(KeyPair::DSA &&keypair)
Construct by moving a DSA keypair.
Definition dsa.hxx:93
PointerType Clone() const noexcept override
Clone this signer.
~DSA() noexcept
Destructor.
PointerType Move() noexcept override
Move this signer into a new instance.
DSA(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition dsa.hxx:79
DSA(const KeyPair::DSA &keypair)
Construct by cloning a DSA keypair.
Definition dsa.hxx:86
DSA(const DSA &other)=default
Copy constructor.
DSA(DSA &&other) noexcept=default
Move constructor.
Generic(const Generic &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