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