|
|
| X25519 (const std::string &public_key, std::optional< std::string > private_key=std::nullopt) |
| |
|
| X25519 (const X25519 &other)=default |
| |
|
| X25519 (X25519 &&other) noexcept=default |
| |
|
X25519 & | operator= (const X25519 &other)=default |
| |
|
X25519 & | operator= (X25519 &&other) noexcept=default |
| |
|
PointerType | Clone () const noexcept override |
| |
|
PointerType | Move () noexcept override |
| |
| | Generic (const Generic &other)=default |
| | Copy constructor.
|
| |
| | Generic (Generic &&other) noexcept=default |
| | Move constructor.
|
| |
|
virtual | ~Generic () noexcept=default |
| | Virtual destructor.
|
| |
| Generic & | operator= (const Generic &other)=default |
| | Copy assignment operator.
|
| |
| Generic & | operator= (Generic &&other) noexcept=default |
| | Move assignment operator.
|
| |
| const std::string & | PublicKey () const noexcept |
| | Gets the type of keypair.
|
| |
| const std::optional< std::string > & | PrivateKey () const noexcept |
| | Gets the private key of the keypair.
|
| |
| enum Type | Type () const noexcept |
| | Gets the type of keypair.
|
| |
| bool | Save (const std::filesystem::path &path, const std::string &name) const noexcept |
| | Saves the keypair to the specified file paths.
|
| |
|
|
static PointerType | Generate (unsigned short key_size=256) noexcept |
| |
|
| | Generic (enum Type type, const std::string &public_key, std::optional< std::string > private_key=std::nullopt) |
| | Constructor.
|
| |
|
enum Type | m_type |
| | The type of keypair.
|
| |
|
std::string | m_public_key |
| | The public key.
|
| |
|
std::optional< std::string > | m_private_key |
| | The private key.
|
| |
The documentation for this class was generated from the following file:
- /home/runner/work/StormByte-Crypto/StormByte-Crypto/lib/public/StormByte/crypto/keypair/x25519.hxx