Botan 3.0.0-alpha0
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 (const std::string &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 109 of file roughtime.h.
|
default |
Botan::Roughtime::Chain::Chain | ( | const std::string & | str | ) |
Definition at line 252 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 320 of file roughtime.cpp.
References Botan::Roughtime::nonce_from_blind(), and Botan::Roughtime::Link::nonce_or_blind().
|
inline |
Definition at line 114 of file roughtime.h.
Definition at line 314 of file roughtime.cpp.
References Botan::Roughtime::nonce_from_blind().
std::vector< Response > Botan::Roughtime::Chain::responses | ( | ) | const |
Definition at line 300 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 346 of file roughtime.cpp.
References Botan::base64_encode().