Aktualizr
C++ SOTA Client
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)
 
void initRoot (RepositoryType repo_type, const std::string &root_raw)
 
void verifyRoot (const std::string &root_raw)
 
int rootVersion ()
 
bool rootExpired ()
 
virtual void updateMeta (INvStorage &storage, const IMetadataFetcher &fetcher)=0
 

Protected Member Functions

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

Protected Attributes

Root root
 
RepositoryType type
 

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: