Aktualizr
C++ SOTA Client
Classes | Typedefs | Enumerations | Functions | Variables
Uptane Namespace Reference

Base data types that are used in The Update Framework (TUF), part of UPTANE. More...

Classes

class  BadEcuId
 
class  BadHardwareId
 
class  BadKeyId
 
class  BaseMeta
 
class  DirectorRepository
 
class  DownloadCounter
 
struct  DownloadMetaStruct
 
class  EcuSerial
 
class  Exception
 
class  ExpiredMetadata
 
class  Fetcher
 
class  HardwareIdentifier
 
class  Hash
 The hash of a file or TUF metadata. More...
 
class  IllegalRsaKeySize
 
class  IllegalThreshold
 
class  ImagesRepository
 
class  InvalidMetadata
 
class  IpUptaneSecondary
 
class  ManagedSecondary
 
class  Manifest
 
struct  MetaPack
 
class  MissingRepo
 
class  MissMatchTarget
 
class  NonUniqueSignatures
 
class  OpcuaSecondary
 
class  OversizedTarget
 
class  PartialVerificationSecondary
 
struct  RawMetaPack
 
class  RepositoryCommon
 
class  Role
 TUF Roles. More...
 
class  Root
 
class  SecondaryConfig
 
class  SecondaryFactory
 
class  SecondaryInterface
 
class  SecurityException
 
class  Snapshot
 
class  Target
 
class  TargetHashMismatch
 
class  Targets
 
class  TimestampMeta
 
class  UnmetThreshold
 
class  Version
 Metadata version numbers. More...
 
class  VirtualSecondary
 

Typedefs

using KeyId = std::string
 

Enumerations

enum  SecondaryType {
  kVirtual, kLegacy, kOpcuaUptane, kIpUptane,
  kVirtualUptane
}
 
enum  RepositoryType { Unknown = -1, Images = 0, Director = 1 }
 This must match the repo_type table in sqlstorage.
 

Functions

std::string RepoString (RepositoryType repo)
 
std::ostream & operator<< (std::ostream &os, const Role &t)
 
std::ostream & operator<< (std::ostream &os, const Version &v)
 
std::ostream & operator<< (std::ostream &os, const HardwareIdentifier &hwid)
 
std::ostream & operator<< (std::ostream &os, const EcuSerial &ecu_serial)
 
std::ostream & operator<< (std::ostream &os, const Hash &h)
 
std::ostream & operator<< (std::ostream &os, const Target &t)
 
int extractVersionUntrusted (const std::string &meta)
 

Variables

constexpr int64_t kMaxRootSize = 64 * 1024
 
constexpr int64_t kMaxDirectorTargetsSize = 64 * 1024
 
constexpr int64_t kMaxTimestampSize = 64 * 1024
 
constexpr int64_t kMaxSnapshotSize = 64 * 1024
 
constexpr int64_t kMaxImagesTargetsSize = 1024 * 1024
 

Detailed Description

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