rippled
|
A secret key. More...
Public Types | |
using | const_iterator = std::uint8_t const * |
Public Member Functions | |
SecretKey ()=default | |
SecretKey (SecretKey const &)=default | |
SecretKey & | operator= (SecretKey const &)=default |
~SecretKey () | |
SecretKey (std::array< std::uint8_t, 32 > const &data) | |
SecretKey (Slice const &slice) | |
std::uint8_t const * | data () const |
std::size_t | size () const |
std::string | to_string () const |
Convert the secret key to a hexadecimal string. More... | |
const_iterator | begin () const noexcept |
const_iterator | cbegin () const noexcept |
const_iterator | end () const noexcept |
const_iterator | cend () const noexcept |
Private Attributes | |
std::uint8_t | buf_ [32] |
A secret key.
Definition at line 36 of file SecretKey.h.
using ripple::SecretKey::const_iterator = std::uint8_t const* |
Definition at line 42 of file SecretKey.h.
|
default |
|
default |
ripple::SecretKey::~SecretKey | ( | ) |
Definition at line 33 of file SecretKey.cpp.
ripple::SecretKey::SecretKey | ( | std::array< std::uint8_t, 32 > const & | data | ) |
Definition at line 38 of file SecretKey.cpp.
ripple::SecretKey::SecretKey | ( | Slice const & | slice | ) |
Definition at line 43 of file SecretKey.cpp.
std::uint8_t const* ripple::SecretKey::data | ( | ) | const |
Definition at line 55 of file SecretKey.h.
std::size_t ripple::SecretKey::size | ( | ) | const |
Definition at line 61 of file SecretKey.h.
std::string ripple::SecretKey::to_string | ( | ) | const |
Convert the secret key to a hexadecimal string.
Definition at line 51 of file SecretKey.cpp.
|
noexcept |
Definition at line 75 of file SecretKey.h.
|
noexcept |
Definition at line 81 of file SecretKey.h.
|
noexcept |
Definition at line 87 of file SecretKey.h.
|
noexcept |
Definition at line 93 of file SecretKey.h.
|
private |
Definition at line 39 of file SecretKey.h.