Aktualizr
C++ SOTA Client
Classes | Namespaces | Typedefs | Enumerations | Functions
types.h File Reference
#include <algorithm>
#include <stdexcept>
#include <unordered_map>
#include <boost/filesystem.hpp>
#include "json/json.h"
Include dependency graph for types.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  utils::BasedPath
 The BasedPath class Can represent an absolute or relative path, only readable through the BasePath::get() method. More...
 
class  PublicKey
 
class  Hash
 The Hash class The hash of a file or Uptane metadata. More...
 
class  TimeStamp
 
class  TimeStamp::InvalidTimeStamp
 
struct  data::ResultCode
 
struct  data::InstallationResult
 
struct  Uptane::InstalledImageInfo
 
class  Uptane::HardwareIdentifier
 
class  Uptane::EcuSerial
 
class  Uptane::Target
 
class  Uptane::Manifest
 
struct  SecondaryInfo
 

Namespaces

 data
 General data structures.
 
 Uptane
 Base data types that are used in The Update Framework (TUF), part of Uptane.
 

Typedefs

using Uptane::MetaBundle = std::unordered_map< std::pair< RepositoryType, Role >, std::string, MetaPairHash >
 
using Uptane::EcuMap = std::map< EcuSerial, HardwareIdentifier >
 

Enumerations

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 }
 

Functions

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)