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

Public Member Functions

 Repo (Uptane::RepositoryType repo_type, boost::filesystem::path path, const std::string &expires, std::string correlation_id)
 
void generateRepo (KeyType key_type=KeyType::kRSA2048)
 
Json::Value getTarget (const std::string &target_name)
 
Json::Value signTuf (const Uptane::Role &role, const Json::Value &json)
 
void generateCampaigns () const
 
void refresh (const Uptane::Role &role)
 

Protected Member Functions

void generateRepoKeys (KeyType key_type)
 
void generateKeyPair (KeyType key_type, const Uptane::Role &key_name)
 
void readKeys ()
 
void updateRepo ()
 

Static Protected Member Functions

static std::string getExpirationTime (const std::string &expires)
 

Protected Attributes

Uptane::RepositoryType repo_type_
 
boost::filesystem::path path_
 
boost::filesystem::path repo_dir_
 
std::string correlation_id_
 
std::string expiration_time_
 
std::map< Uptane::Role, KeyPairkeys_
 

Detailed Description

Definition at line 34 of file repo.h.


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