45#include <StormByte/safe/string.hxx>
ECDH(std::string_view publicKey, StormByte::Safe::Optional< Secure::Password > privateKey=std::nullopt)
Construct from public material and optional private Password.
~ECDH() noexcept
Destructor.
PointerType Clone() const override
Clone this keypair.
PointerType Move() override
Move this keypair into a new instance.
ECDH(ECDH &&other) noexcept=default
Move constructor.
static PointerType Generate(unsigned short bits) noexcept
Generate an ECDH keypair.
ECDH(const ECDH &other)=default
Copy constructor.
Generic(const Generic &other)
Copy constructor.
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Keypairs of the Crypto module.
Crypto module of the StormByte suite.
Definition aead.hxx:53
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53