#include <signature.hpp>
Definition at line 21 of file signature.hpp.
◆ storage_type
◆ signature() [1/4]
fc::crypto::signature::signature |
( |
| ) |
|
|
default |
◆ signature() [2/4]
fc::crypto::signature::signature |
( |
signature && | | ) |
|
|
default |
◆ signature() [3/4]
fc::crypto::signature::signature |
( |
const signature & | | ) |
|
|
default |
◆ signature() [4/4]
fc::crypto::signature::signature |
( |
const string & | base58str | ) |
|
|
explicit |
Definition at line 34 of file signature.cpp.
35 :_storage(sig_parse_base58(base58str))
36 {}
◆ operator=()
◆ to_string()
Definition at line 56 of file signature.cpp.
57 {
58 auto data_str = std::visit(base58str_visitor<storage_type, config::signature_prefix>(yield), _storage);
60 return std::string(config::signature_base_prefix) + "_" + data_str;
61 }
thread_local yield_t yield
◆ variable_size()
size_t fc::crypto::signature::variable_size |
( |
| ) |
const |
Definition at line 45 of file signature.cpp.
45 {
47 [&](const auto& k1r1) {
48 return static_cast<size_t>(0);
49 },
50 [&](
const webauthn::signature&
wa) {
51 return static_cast<size_t>(
wa.variable_size());
52 }
53 }, _storage);
54 }
overloaded(Ts...) -> overloaded< Ts... >
◆ which()
size_t fc::crypto::signature::which |
( |
| ) |
const |
Definition at line 38 of file signature.cpp.
38 {
39 return _storage.index();
40 }
◆ hash_value
std::size_t hash_value |
( |
const signature & | b | ) |
|
|
friend |
Definition at line 81 of file signature.cpp.
81 {
82 return std::visit(hash_visitor(), b._storage);
83 }
◆ operator!=
Definition at line 72 of file signature.cpp.
72 {
74 }
static bool apply(const T &a, const T &b)
◆ operator<
Definition at line 76 of file signature.cpp.
77 {
79 }
static bool apply(const T &a, const T &b)
◆ operator==
◆ private_key
◆ public_key
◆ reflector< signature >
The documentation for this class was generated from the following files: