|
| SQLStorage (const StorageConfig &config, bool readonly) |
|
void | storePrimaryKeys (const std::string &public_key, const std::string &private_key) override |
|
bool | loadPrimaryKeys (std::string *public_key, std::string *private_key) override |
|
bool | loadPrimaryPublic (std::string *public_key) override |
|
bool | loadPrimaryPrivate (std::string *private_key) override |
|
void | clearPrimaryKeys () override |
|
void | storeTlsCreds (const std::string &ca, const std::string &cert, const std::string &pkey) override |
|
void | storeTlsCa (const std::string &ca) override |
|
void | storeTlsCert (const std::string &cert) override |
|
void | storeTlsPkey (const std::string &pkey) override |
|
bool | loadTlsCreds (std::string *ca, std::string *cert, std::string *pkey) override |
|
void | clearTlsCreds () override |
|
bool | loadTlsCa (std::string *ca) override |
|
bool | loadTlsCert (std::string *cert) override |
|
bool | loadTlsPkey (std::string *pkey) override |
|
void | storeRoot (const std::string &data, Uptane::RepositoryType repo, Uptane::Version version) override |
|
bool | loadRoot (std::string *data, Uptane::RepositoryType repo, Uptane::Version version) override |
|
void | storeNonRoot (const std::string &data, Uptane::RepositoryType repo, Uptane::Role role) override |
|
bool | loadNonRoot (std::string *data, Uptane::RepositoryType repo, Uptane::Role role) override |
|
void | clearNonRootMeta (Uptane::RepositoryType repo) override |
|
void | clearMetadata () override |
|
void | storeDeviceId (const std::string &device_id) override |
|
bool | loadDeviceId (std::string *device_id) override |
|
void | clearDeviceId () override |
|
void | storeEcuSerials (const EcuSerials &serials) override |
|
bool | loadEcuSerials (EcuSerials *serials) override |
|
void | clearEcuSerials () override |
|
void | storeMisconfiguredEcus (const std::vector< MisconfiguredEcu > &ecus) override |
|
bool | loadMisconfiguredEcus (std::vector< MisconfiguredEcu > *ecus) override |
|
void | clearMisconfiguredEcus () override |
|
void | storeEcuRegistered () override |
|
bool | loadEcuRegistered () override |
|
void | clearEcuRegistered () override |
|
void | storeInstalledVersions (const std::vector< Uptane::Target > &installed_versions, const std::string ¤t_hash) override |
|
std::string | loadInstalledVersions (std::vector< Uptane::Target > *installed_versions) override |
|
void | clearInstalledVersions () override |
|
void | storeInstallationResult (const data::OperationResult &result) override |
|
bool | loadInstallationResult (data::OperationResult *result) override |
|
void | clearInstallationResult () override |
|
std::unique_ptr< StorageTargetWHandle > | allocateTargetFile (bool from_director, const std::string &filename, size_t size) override |
|
std::unique_ptr< StorageTargetRHandle > | openTargetFile (const std::string &filename) override |
|
void | removeTargetFile (const std::string &filename) override |
|
void | cleanUp () override |
|
StorageType | type () override |
|
std::string | getTableSchemaFromDb (const std::string &tablename) |
|
bool | dbMigrate () |
|
DbVersion | getVersion () |
|
boost::filesystem::path | dbPath () const |
|
| INvStorage (const StorageConfig &config) |
|
bool | loadLatestRoot (std::string *data, Uptane::RepositoryType repo) |
|
void | importData (const ImportConfig &import_config) |
|
void | saveInstalledVersion (const Uptane::Target &target) |
|
Definition at line 18 of file sqlstorage.h.