|
Botan 3.13.0
Crypto and TLS for C&
|
#include <roughtime.h>
Public Member Functions | |
| const std::array< uint8_t, 64 > & | get_nonce () const |
| Nonce ()=default | |
| Nonce (const std::array< uint8_t, 64 > &nonce) | |
| Nonce (const std::vector< uint8_t > &nonce) | |
| Nonce (RandomNumberGenerator &rng) | |
| bool | operator== (const Nonce &rhs) const |
A 64 byte Roughtime nonce
Definition at line 49 of file roughtime.h.
|
default |
|
explicit |
Create a nonce from a 64 byte vector
| nonce | the nonce bytes |
Definition at line 165 of file roughtime.cpp.
References Botan::typecast_copy().
|
explicit |
Create a random nonce
| Random Number Generators | a random number generator |
Definition at line 172 of file roughtime.cpp.
|
inlineexplicit |
Create a nonce from a 64 byte array
| nonce | the nonce bytes |
Definition at line 72 of file roughtime.h.
|
inline |
Access the nonce bytes
Definition at line 85 of file roughtime.h.
Referenced by Botan::Roughtime::encode_request(), Botan::Roughtime::Response::from_bits(), and Botan::Roughtime::nonce_from_blind().
|
inline |
Compare two nonces
| rhs | the nonce to compare against |
Definition at line 79 of file roughtime.h.
References Nonce().