Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Protected Member Functions | Protected Attributes | Static Protected Attributes | List of all members
Uptane::RepositoryCommon Class Referenceabstract
Inheritance diagram for Uptane::RepositoryCommon:
[legend]
Collaboration diagram for Uptane::RepositoryCommon:
[legend]

Public Member Functions

 RepositoryCommon (RepositoryType type_in)
 
bool initRoot (const std::string &root_raw)
 
bool verifyRoot (const std::string &root_raw)
 
int rootVersion ()
 
bool rootExpired ()
 
virtual bool updateMeta (INvStorage &storage, const IMetadataFetcher &fetcher)=0
 
Exception getLastException () const
 

Protected Member Functions

void resetRoot ()
 
bool updateRoot (INvStorage &storage, const IMetadataFetcher &fetcher, RepositoryType repo_type)
 

Protected Attributes

Root root
 
RepositoryType type
 
Exception last_exception {"", ""}
 

Static Protected Attributes

static const int64_t kMaxRotations = 1000
 

Detailed Description

Definition at line 10 of file uptanerepository.h.


The documentation for this class was generated from the following files: