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