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