|
Botan
2.13.0
Crypto and TLS for C++11
|
#include <uuid.h>
Public Member Functions | |
| const std::vector< uint8_t > & | binary_value () const |
| bool | is_valid () const |
| bool | operator!= (const UUID &other) const |
| UUID & | operator= (const UUID &other)=default |
| bool | operator== (const UUID &other) const |
| std::string | to_string () const |
| UUID () | |
| UUID (RandomNumberGenerator &rng) | |
| UUID (const std::vector< uint8_t > &blob) | |
| UUID (const UUID &other)=default | |
| UUID (const std::string &uuid_str) | |
|
inline |
| Botan::UUID::UUID | ( | RandomNumberGenerator & | rng | ) |
Create a random UUID
Definition at line 15 of file uuid.cpp.
References Botan::RandomNumberGenerator::randomize().
| Botan::UUID::UUID | ( | const std::vector< uint8_t > & | blob | ) |
Load a UUID from a 16 byte vector
Definition at line 27 of file uuid.cpp.
References Botan::hex_encode().
|
default |
| Botan::UUID::UUID | ( | const std::string & | uuid_str | ) |
Decode a UUID string
Definition at line 37 of file uuid.cpp.
References Botan::hex_decode().
|
inline |
|
inline |
Definition at line 61 of file uuid.h.
Referenced by Botan::TPM_PrivateKey::register_key(), and to_string().
|
inline |
|
inline |
| std::string Botan::UUID::to_string | ( | ) | const |
Convert the UUID to a string
Definition at line 67 of file uuid.cpp.
References Botan::hex_encode(), and is_valid().
Referenced by Botan::TPM_PrivateKey::register_key().
1.8.9.1