Aktualizr
C++ SOTA Client
|
TUF Roles. More...
#include <tuf.h>
Public Member Functions | |
Role (const std::string &role_name, bool delegation=false) | |
std::string | ToString () const |
int | ToInt () const |
bool | IsDelegation () const |
bool | operator== (const Role &other) const |
bool | operator!= (const Role &other) const |
bool | operator< (const Role &other) const |
Static Public Member Functions | |
static Role | Root () |
static Role | Snapshot () |
static Role | Targets () |
static Role | Timestamp () |
static Role | Delegation (const std::string &name) |
static Role | InvalidRole () |
static std::vector< Role > | Roles () |
static bool | IsReserved (const std::string &name) |
Friends | |
std::ostream & | operator<< (std::ostream &os, const Role &role) |