Aktualizr
C++ SOTA Client
Public Member Functions | Friends | List of all members
Uptane::Target Class Reference

Public Member Functions

 Target (std::string filename, const Json::Value &content)
 
const std::map< EcuSerial, HardwareIdentifier > & ecus () const
 
std::string filename () const
 
std::string sha256Hash () const
 
std::vector< Hashhashes () const
 
bool MatchWith (const Hash &hash) const
 
int64_t length () const
 
bool IsForSecondary (const EcuSerial &ecuIdentifier) const
 
bool IsOstree () const
 Is this an OSTree target? OSTree targets need special treatment because the hash doesn't represent the contents of the update itself, instead it is the hash (name) of the root commit object.
 
bool operator== (const Target &t2) const
 
Json::Value toDebugJson () const
 

Friends

std::ostream & operator<< (std::ostream &os, const Target &t)
 

Detailed Description

Definition at line 162 of file tuf.h.


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