80 inline ECDSA(std::string_view publicKey, std::optional<Secure::Password> privateKey = std::nullopt):
120 return MakePointer<ECDSA>(*
this);
128 return MakePointer<ECDSA>(std::move(*
this));
ECDSA keypair.
Definition ecdsa.hxx:69
ECDSA(ECDSA &&other) noexcept=default
Move constructor.
ECDSA(std::string_view publicKey, std::optional< Secure::Password > privateKey=std::nullopt)
Construct from public material and optional private Password.
Definition ecdsa.hxx:80
ECDSA(const ECDSA &other)=default
Copy constructor.
static PointerType Generate(unsigned short bits) noexcept
Generate an ECDSA keypair.
~ECDSA() noexcept
Destructor.
PointerType Move() override
Move this keypair into a new instance.
Definition ecdsa.hxx:127
Abstract keypair.
Definition generic.hxx:99
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53