45#include <StormByte/safe/string.hxx>
106 RSA& operator=(const
RSA& other) = default;
113 RSA& operator=(
RSA&& other) noexcept = default;
Generic(const Generic &other)
Copy constructor.
RSA(RSA &&other) noexcept=default
Move constructor.
PointerType Clone() const override
Clone this keypair.
RSA(std::string_view publicKey, StormByte::Safe::Optional< Secure::Password > privateKey=std::nullopt)
Construct from public material and optional private Password.
~RSA() noexcept
Destructor.
PointerType Move() override
Move this keypair into a new instance.
RSA(const RSA &other)=default
Copy constructor.
static PointerType Generate(unsigned short bits) noexcept
Generate an RSA keypair.
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