|
| KeyPair::Generic::PointerType | KeyPair () const noexcept |
| | Keypair used by this crypter.
|
| | Asymmetric (const Asymmetric &other)=default |
| | Copy constructor.
|
| | Asymmetric (Asymmetric &&other) noexcept=default |
| | Move constructor.
|
| virtual | ~Asymmetric () noexcept override |
| | Destructor.
|
| Asymmetric & | operator= (const Asymmetric &other)=default |
| | Copy assignment.
|
| Asymmetric & | operator= (Asymmetric &&other) noexcept=default |
| | Move assignment.
|
| bool | Encrypt (std::span< const std::byte > input, Buffer::WriteOnly &output, Strategy strategy=Strategy::Native) const noexcept |
| | Encrypt a byte span.
|
| bool | Encrypt (const Buffer::ReadOnly &input, Buffer::WriteOnly &output, Strategy strategy=Strategy::Native) const noexcept |
| | Encrypt a read-only buffer (copy).
|
| bool | Encrypt (Buffer::ReadOnly &input, Buffer::WriteOnly &output, Strategy strategy=Strategy::Native) const noexcept |
| | Encrypt a buffer, consuming it.
|
| Buffer::Consumer | Encrypt (Buffer::Consumer consumer, Strategy strategy=Strategy::Native, ReadMode mode=ReadMode::Move) const noexcept |
| | Encrypt a Consumer.
|
| bool | Decrypt (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt a byte span.
|
| bool | Decrypt (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt a read-only buffer (copy).
|
| bool | Decrypt (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt a buffer, consuming it.
|
| Buffer::Consumer | Decrypt (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Decrypt a Consumer.
|
| enum Type | Type () const noexcept |
| | Cipher of this crypter.
|
| | Generic (const Generic &other)=default |
| | Copy constructor.
|
| | Generic (Generic &&other) noexcept=default |
| | Move constructor.
|
| virtual | ~Generic () noexcept |
| | Destructor.
|
| Generic & | operator= (const Generic &other)=default |
| | Copy assignment.
|
| Generic & | operator= (Generic &&other) noexcept=default |
| | Move assignment.
|
| bool | Encrypt (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Encrypt a byte span.
|
| template<StormByte::Type::ByteInputRange Range> |
| bool | Encrypt (const Range &input, Buffer::WriteOnly &output) const |
| | Encrypt an input range of byte-convertible values.
|
| bool | Encrypt (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Encrypt a read-only buffer (copy).
|
| bool | Encrypt (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Encrypt a buffer, consuming it.
|
| Buffer::Consumer | Encrypt (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Encrypt a Consumer into another Consumer.
|
| bool | Decrypt (std::span< const std::byte > input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt a byte span.
|
| template<StormByte::Type::ByteInputRange Range> |
| bool | Decrypt (const Range &input, Buffer::WriteOnly &output) const |
| | Decrypt an input range of byte-convertible values.
|
| bool | Decrypt (const Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt a read-only buffer (copy).
|
| bool | Decrypt (Buffer::ReadOnly &input, Buffer::WriteOnly &output) const noexcept |
| | Decrypt a buffer, consuming it.
|
| Buffer::Consumer | Decrypt (Buffer::Consumer consumer, ReadMode mode=ReadMode::Move) const noexcept |
| | Decrypt a Consumer into another Consumer.
|
| constexpr | Clonable ()=default |
| constexpr Clonable & | operator= (const Clonable &)=default |
| virtual constexpr | ~Clonable () noexcept=default |
| virtual PointerType | Clone () const =0 |
| virtual PointerType | Move ()=0 |
Keypair-based asymmetric crypter.
- Note
- MaybeSafe inherits all requirements of StormByte::Crypto::Crypter::Generic, including ABI-compatible toolchains and keeping all provider modules loaded. The keypair uses Safe shared ownership and must satisfy its provider's MaybeSafe contract. Inline construction, copying, assignment and movement delegate to Safe ownership or exported keypair operations; destruction is exported. Derived providers must preserve these guarantees for every added field and bind owning Clone/Move callbacks in their module.