Aktualizr
C++ SOTA Client
Public Member Functions | Static Public Member Functions | List of all members
Uptane::ImageRepository Class Reference
Inheritance diagram for Uptane::ImageRepository:
[legend]
Collaboration diagram for Uptane::ImageRepository:
[legend]

Public Member Functions

void resetMeta ()
 
void verifyTargets (const std::string &targets_raw, bool prefetch)
 
void verifyTimestamp (const std::string &timestamp_raw)
 
void verifySnapshot (const std::string &snapshot_raw, bool prefetch)
 
std::shared_ptr< const Uptane::TargetsgetTargets () const
 
void verifyRoleHashes (const std::string &role_data, const Uptane::Role &role, bool prefetch) const
 
int getRoleVersion (const Uptane::Role &role) const
 
int64_t getRoleSize (const Uptane::Role &role) const
 
void checkMetaOffline (INvStorage &storage)
 
void updateMeta (INvStorage &storage, const IMetadataFetcher &fetcher) override
 
- Public Member Functions inherited from Uptane::RepositoryCommon
 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 ()
 

Static Public Member Functions

static std::shared_ptr< Uptane::TargetsverifyDelegation (const std::string &delegation_raw, const Uptane::Role &role, const Targets &parent_target)
 

Additional Inherited Members

- Protected Member Functions inherited from Uptane::RepositoryCommon
void resetRoot ()
 
void updateRoot (INvStorage &storage, const IMetadataFetcher &fetcher, RepositoryType repo_type)
 
- Protected Attributes inherited from Uptane::RepositoryCommon
Root root
 
RepositoryType type
 
- Static Protected Attributes inherited from Uptane::RepositoryCommon
static const int64_t kMaxRotations = 1000
 

Detailed Description

Definition at line 13 of file imagerepository.h.


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