Botan 3.6.1
Crypto and TLS for C&
roughtime.cpp File Reference
#include <botan/roughtime.h>
#include <botan/base64.h>
#include <botan/hash.h>
#include <botan/pubkey.h>
#include <botan/rng.h>
#include <botan/internal/socket_udp.h>
#include <cmath>
#include <map>
#include <sstream>

Go to the source code of this file.

Namespaces

namespace  Botan
 
namespace  Botan::Roughtime
 

Functions

std::array< uint8_t, request_min_sizeBotan::Roughtime::encode_request (const Nonce &nonce)
 
Nonce Botan::Roughtime::nonce_from_blind (const std::vector< uint8_t > &previous_response, const Nonce &blind)
 
std::vector< uint8_t > Botan::Roughtime::online_request (std::string_view uri, const Nonce &nonce, std::chrono::milliseconds timeout)
 
std::vector< Server_InformationBotan::Roughtime::servers_from_str (std::string_view str)