Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | Static Public Member Functions | List of all members
FSStorageRead Class Reference

Public Member Functions

 FSStorageRead (const StorageConfig &config)
 
bool loadPrimaryKeys (std::string *public_key, std::string *private_key)
 
bool loadPrimaryPublic (std::string *public_key)
 
bool loadPrimaryPrivate (std::string *private_key)
 
bool loadTlsCreds (std::string *ca, std::string *cert, std::string *pkey)
 
bool loadTlsCa (std::string *ca)
 
bool loadTlsCert (std::string *cert)
 
bool loadTlsPkey (std::string *pkey)
 
bool loadRoot (std::string *data, Uptane::RepositoryType repo, Uptane::Version version)
 
bool loadLatestRoot (std::string *data, Uptane::RepositoryType repo)
 
bool loadNonRoot (std::string *data, Uptane::RepositoryType repo, const Uptane::Role &role)
 
bool loadDeviceId (std::string *device_id)
 
bool loadEcuSerials (EcuSerials *serials)
 
bool loadMisconfiguredEcus (std::vector< MisconfiguredEcu > *ecus)
 
bool loadEcuRegistered ()
 
bool loadInstalledVersions (std::vector< Uptane::Target > *installed_versions, size_t *current_version)
 
void cleanUpAll ()
 

Static Public Member Functions

static bool FSStoragePresent (const StorageConfig &config)
 

Detailed Description

Definition at line 7 of file fsstorage_read.h.


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