116 DSA& operator=(const
DSA& other) = default;
123 DSA& operator=(
DSA&& other) noexcept = default;
131 return DSA::MakePointer<DSA>(*
this);
139 return DSA::MakePointer<DSA>(std::move(*
this));
149 bool DoSign(std::span<const std::byte> input,
Buffer::WriteOnly& output)
const noexcept override;
165 bool DoVerify(std::span<const std::byte> input, std::string_view signature)
const noexcept override;
DSA keypair.
Definition dsa.hxx:69
DSA signer.
Definition dsa.hxx:67
DSA(KeyPair::DSA &&keypair)
Construct by moving a DSA keypair.
Definition dsa.hxx:91
~DSA() noexcept
Destructor.
PointerType Move() noexcept override
Move this signer into a new instance.
Definition dsa.hxx:138
DSA(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition dsa.hxx:77
DSA(const KeyPair::DSA &keypair)
Construct by cloning a DSA keypair.
Definition dsa.hxx:84
DSA(const DSA &other)=default
Copy constructor.
DSA(DSA &&other) noexcept=default
Move constructor.
Abstract signer.
Definition generic.hxx:83
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