116 RSA& operator=(const
RSA& other) = default;
123 RSA& operator=(
RSA&& other) noexcept = default;
145 bool DoEncrypt(
std::span<const
std::
byte> input,
Buffer::WriteOnly& output) const noexcept override;
161 bool DoDecrypt(
std::span<const
std::
byte> input,
Buffer::WriteOnly& output) const noexcept override;
Asymmetric(const Asymmetric &other)=default
Copy constructor.
KeyPair::Generic::PointerType KeyPair() const noexcept
Keypair used by this crypter.
Definition generic.hxx:122
~RSA() noexcept
Destructor.
RSA(const KeyPair::RSA &keypair)
Construct by cloning an RSA keypair.
Definition rsa.hxx:84
RSA(KeyPair::Generic::PointerType keypair)
Construct from a keypair pointer.
Definition rsa.hxx:77
PointerType Clone() const noexcept override
Clone this crypter.
RSA(const RSA &other)=default
Copy constructor.
RSA(RSA &&other) noexcept=default
Move constructor.
RSA(KeyPair::RSA &&keypair)
Construct by moving an RSA keypair.
Definition rsa.hxx:91
PointerType Move() noexcept override
Move this crypter into a new instance.
RSA keypair.
Definition rsa.hxx:71
STORMBYTE_DECLARE_MAYBE_SAFE(class StormByte::System::Device::Access)
Ciphers of the Crypto module.
Crypto module of the StormByte suite.
Definition aead.hxx:53
ReadMode
How a source buffer is consumed.
Definition typedefs.hxx:57
Root namespace of the StormByte suite.
#define STORMBYTE_CRYPTO_PUBLIC
Definition visibility.h:53