Botan 3.6.1
Crypto and TLS for C&
|
#include <roughtime.h>
Public Member Functions | |
void | append (const Link &new_link, size_t max_chain_size) |
Chain ()=default | |
Chain (std::string_view str) | |
const std::vector< Link > & | links () const |
Nonce | next_nonce (const Nonce &blind) const |
std::vector< Response > | responses () const |
std::string | to_string () const |
Definition at line 103 of file roughtime.h.
|
default |
Botan::Roughtime::Chain::Chain | ( | std::string_view | str | ) |
Definition at line 249 of file roughtime.cpp.
References Botan::base64_decode(), and Botan::unlock().
void Botan::Roughtime::Chain::append | ( | const Link & | new_link, |
size_t | max_chain_size ) |
Definition at line 310 of file roughtime.cpp.
References Botan::Roughtime::nonce_from_blind(), and Botan::Roughtime::Link::nonce_or_blind().
|
inline |
Definition at line 108 of file roughtime.h.
Definition at line 306 of file roughtime.cpp.
References Botan::Roughtime::nonce_from_blind().
std::vector< Response > Botan::Roughtime::Chain::responses | ( | ) | const |
Definition at line 292 of file roughtime.cpp.
References Botan::Roughtime::Response::from_bits(), Botan::Roughtime::nonce_from_blind(), and responses().
Referenced by responses().
std::string Botan::Roughtime::Chain::to_string | ( | ) | const |
Definition at line 333 of file roughtime.cpp.
References Botan::base64_encode().