Aktualizr
C++ SOTA Client
|
Public Member Functions | |
ManagedSecondary (Primary::ManagedSecondaryConfig sconfig_in) | |
void | Initialize () |
Uptane::EcuSerial | getSerial () const override |
Uptane::HardwareIdentifier | getHwId () const override |
PublicKey | getPublicKey () const override |
bool | putMetadata (const Uptane::RawMetaPack &meta_pack) override |
int | getRootVersion (bool director) const override |
bool | putRoot (const std::string &root, bool director) override |
bool | sendFirmware (const std::string &data) override |
data::ResultCode::Numeric | install (const std::string &target_name) override |
Uptane::Manifest | getManifest () const override |
bool | loadKeys (std::string *pub_key, std::string *priv_key) |
![]() | |
virtual std::string | Type () const =0 |
virtual bool | ping () const =0 |
SecondaryInterface (const SecondaryInterface &)=delete | |
SecondaryInterface & | operator= (const SecondaryInterface &)=delete |
Protected Member Functions | |
virtual bool | storeFirmware (const std::string &target_name, const std::string &content)=0 |
virtual bool | getFirmwareInfo (Uptane::InstalledImageInfo &firmware_info) const =0 |
Protected Attributes | |
Primary::ManagedSecondaryConfig | sconfig |
std::string | detected_attack |
std::string | expected_target_name |
std::vector< Uptane::Hash > | expected_target_hashes |
uint64_t | expected_target_length {} |
std::mutex | install_mutex |
Additional Inherited Members | |
![]() | |
using | Ptr = std::shared_ptr< SecondaryInterface > |
Definition at line 41 of file managedsecondary.h.