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

Public Member Functions

 ManagedSecondary (Primary::ManagedSecondaryConfig sconfig_in)
 
void init (std::shared_ptr< SecondaryProvider > secondary_provider_in) override
 
void Initialize ()
 
Uptane::EcuSerial getSerial () const override
 
Uptane::HardwareIdentifier getHwId () const override
 
PublicKey getPublicKey () const override
 
data::InstallationResult putMetadata (const Uptane::Target &target) override
 
int getRootVersion (bool director) const override
 
data::InstallationResult putRoot (const std::string &root, bool director) override
 
data::InstallationResult sendFirmware (const Uptane::Target &target) override
 
data::InstallationResult install (const Uptane::Target &target) override
 
Uptane::Manifest getManifest () const override
 
bool loadKeys (std::string *pub_key, std::string *priv_key)
 
- Public Member Functions inherited from SecondaryInterface
virtual std::string Type () const =0
 
virtual bool ping () const =0
 

Protected Member Functions

virtual bool getFirmwareInfo (Uptane::InstalledImageInfo &firmware_info) const
 

Protected Attributes

std::shared_ptr< SecondaryProvidersecondary_provider_
 
Primary::ManagedSecondaryConfig sconfig
 
std::string detected_attack
 

Additional Inherited Members

- Public Types inherited from SecondaryInterface
using Ptr = std::shared_ptr< SecondaryInterface >
 

Detailed Description

Definition at line 42 of file managedsecondary.h.


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