#include <Ed25519.h>
|
| Ed25519 () |
|
| Ed25519 (Ed25519 const &right) |
|
| Ed25519 (Ed25519 &&right) noexcept |
|
| ~Ed25519 () |
|
Ed25519 & | operator= (Ed25519 const &right) |
|
Ed25519 & | operator= (Ed25519 &&right) noexcept |
|
bool | LoadFromFile (std::string const &fileName) |
|
bool | LoadFromString (std::string const &keyPem) |
|
bool | LoadFromByteArray (std::array< uint8, 32 > const &keyBytes) |
|
template<std::size_t N> |
bool | Sign (std::array< uint8, N > const &message, std::vector< uint8 > &output) |
|
bool | Sign (uint8 const *message, std::size_t messageLength, std::vector< uint8 > &output) |
|
template<std::size_t N> |
bool | SignWithContext (std::array< uint8, N > const &message, std::vector< uint8 > const &context, std::vector< uint8 > &output) |
|
bool | SignWithContext (uint8 const *message, std::size_t messageLength, std::vector< uint8 > const &context, std::vector< uint8 > &output) |
|
|
EVP_PKEY * | _key = nullptr |
|
Definition at line 31 of file Ed25519.h.
◆ Ed25519() [1/3]
Trinity::Crypto::Ed25519::Ed25519 |
( |
| ) |
|
|
default |
◆ Ed25519() [2/3]
Trinity::Crypto::Ed25519::Ed25519 |
( |
Ed25519 const & |
right | ) |
|
◆ Ed25519() [3/3]
Trinity::Crypto::Ed25519::Ed25519 |
( |
Ed25519 && |
right | ) |
|
|
noexcept |
◆ ~Ed25519()
Trinity::Crypto::Ed25519::~Ed25519 |
( |
| ) |
|
◆ LoadFromByteArray()
bool Trinity::Crypto::Ed25519::LoadFromByteArray |
( |
std::array< uint8, 32 > const & |
keyBytes | ) |
|
◆ LoadFromFile()
bool Trinity::Crypto::Ed25519::LoadFromFile |
( |
std::string const & |
fileName | ) |
|
◆ LoadFromString()
bool Trinity::Crypto::Ed25519::LoadFromString |
( |
std::string const & |
keyPem | ) |
|
◆ operator=() [1/2]
◆ operator=() [2/2]
Ed25519 & Trinity::Crypto::Ed25519::operator= |
( |
Ed25519 const & |
right | ) |
|
◆ Sign() [1/2]
template<std::size_t N>
bool Trinity::Crypto::Ed25519::Sign |
( |
std::array< uint8, N > const & |
message, |
|
|
std::vector< uint8 > & |
output |
|
) |
| |
|
inline |
◆ Sign() [2/2]
bool Trinity::Crypto::Ed25519::Sign |
( |
uint8 const * |
message, |
|
|
std::size_t |
messageLength, |
|
|
std::vector< uint8 > & |
output |
|
) |
| |
◆ SignWithContext() [1/2]
template<std::size_t N>
bool Trinity::Crypto::Ed25519::SignWithContext |
( |
std::array< uint8, N > const & |
message, |
|
|
std::vector< uint8 > const & |
context, |
|
|
std::vector< uint8 > & |
output |
|
) |
| |
|
inline |
◆ SignWithContext() [2/2]
bool Trinity::Crypto::Ed25519::SignWithContext |
( |
uint8 const * |
message, |
|
|
std::size_t |
messageLength, |
|
|
std::vector< uint8 > const & |
context, |
|
|
std::vector< uint8 > & |
output |
|
) |
| |
◆ _key
EVP_PKEY* Trinity::Crypto::Ed25519::_key = nullptr |
|
private |
The documentation for this class was generated from the following files: