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