131 return ECDSA::MakePointer<ECDSA>(*
this);
139 return ECDSA::MakePointer<ECDSA>(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;
ECDSA keypair.
Definition ecdsa.hxx:69
ECDSA signer.
Definition ecdsa.hxx:67
~ECDSA() noexcept
Destructor.
ECDSA(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition ecdsa.hxx:77
ECDSA(KeyPair::ECDSA &&keypair)
Construct by moving an ECDSA keypair.
Definition ecdsa.hxx:91
ECDSA(const KeyPair::ECDSA &keypair)
Construct by cloning an ECDSA keypair.
Definition ecdsa.hxx:84
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.
Definition ecdsa.hxx:138
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