Aktualizr
C++ SOTA Client
All Classes Namespaces Files Functions Variables Enumerations Enumerator Pages
Public Member Functions | List of all members
Primary::VirtualSecondary Class Reference
Inheritance diagram for Primary::VirtualSecondary:
[legend]
Collaboration diagram for Primary::VirtualSecondary:
[legend]

Public Member Functions

 VirtualSecondary (Primary::VirtualSecondaryConfig sconfig_in)
 
std::string Type () const override
 
bool ping () const override
 
- Public Member Functions inherited from Primary::ManagedSecondary
 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)
 
- Public Member Functions inherited from Uptane::SecondaryInterface
 SecondaryInterface (const SecondaryInterface &)=delete
 
SecondaryInterfaceoperator= (const SecondaryInterface &)=delete
 

Additional Inherited Members

- Public Types inherited from Uptane::SecondaryInterface
using Ptr = std::shared_ptr< SecondaryInterface >
 
- Protected Attributes inherited from Primary::ManagedSecondary
Primary::ManagedSecondaryConfig sconfig
 
std::string detected_attack
 
std::string expected_target_name
 
std::vector< Uptane::Hashexpected_target_hashes
 
uint64_t expected_target_length {}
 
std::mutex install_mutex
 

Detailed Description

Definition at line 23 of file virtualsecondary.h.


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