11#include <botan/types.h>
19class RandomNumberGenerator;
37 UUID(
const std::vector<uint8_t>& blob);
45 UUID(
const std::string& uuid_str);
52 const std::vector<uint8_t>&
binary_value()
const {
return m_uuid; }
56 return m_uuid == other.m_uuid;
61 bool is_valid()
const {
return m_uuid.size() == 16; }
64 std::vector<uint8_t> m_uuid;
UUID & operator=(const UUID &other)=default
bool operator!=(const UUID &other) const
const std::vector< uint8_t > & binary_value() const
UUID(const UUID &other)=default
bool operator==(const UUID &other) const
int(* final)(unsigned char *, CTX *)
#define BOTAN_UNSTABLE_API
std::string to_string(ErrorType type)
Convert an ErrorType to string.