#include <algorithm>
#include <stdexcept>
#include <unordered_map>
#include <boost/filesystem.hpp>
#include "json/json.h"
Go to the source code of this file.
|
| data |
| General data structures.
|
|
| Uptane |
| Base data types that are used in The Update Framework (TUF), part of Uptane.
|
|
|
using | Uptane::MetaBundle = std::unordered_map< std::pair< RepositoryType, Role >, std::string, MetaPairHash > |
|
using | Uptane::EcuMap = std::map< EcuSerial, HardwareIdentifier > |
|
|
enum | ProvisionMode { kSharedCred = 0,
kDeviceCred,
kSharedCredReuse,
kDefault
} |
|
enum | StorageType { kFileSystem = 0,
kSqlite
} |
|
enum | KeyType {
kED25519 = 0,
kFirstKnown = kED25519,
kRSA2048,
kRSA3072,
kRSA4096,
kLastKnown = kRSA4096,
kUnknown = 0xff
} |
|
enum | CryptoSource { kFile = 0,
kPkcs11
} |
|
|
std::ostream & | operator<< (std::ostream &os, ProvisionMode mode) |
|
std::ostream & | operator<< (std::ostream &os, StorageType stype) |
|
std::ostream & | operator<< (std::ostream &os, const KeyType kt) |
|
std::istream & | operator>> (std::istream &is, KeyType &kt) |
|
std::ostream & | operator<< (std::ostream &os, CryptoSource cs) |
|
std::ostream & | operator<< (std::ostream &os, const Hash &h) |
|
std::ostream & | operator<< (std::ostream &os, const TimeStamp &t) |
|
std::ostream & | data::operator<< (std::ostream &os, const ResultCode &result_code) |
|
std::ostream & | Uptane::operator<< (std::ostream &os, const HardwareIdentifier &hwid) |
|
std::ostream & | Uptane::operator<< (std::ostream &os, const EcuSerial &ecu_serial) |
|
std::ostream & | Uptane::operator<< (std::ostream &os, const Target &t) |
|