Aktualizr
C++ SOTA Client
Public Member Functions | List of all members
Uptane::Snapshot Class Reference
Inheritance diagram for Uptane::Snapshot:
[legend]
Collaboration diagram for Uptane::Snapshot:
[legend]

Public Member Functions

 Snapshot (const Json::Value &json)
 
 Snapshot (RepositoryType repo, const Json::Value &json, const std::shared_ptr< MetaWithKeys > &signer)
 
std::vector< Hashrole_hashes (const Uptane::Role &role) const
 
int64_t role_size (const Uptane::Role &role) const
 
int role_version (const Uptane::Role &role) const
 
bool operator== (const Snapshot &rhs) const
 
- Public Member Functions inherited from Uptane::BaseMeta
 BaseMeta (const Json::Value &json)
 
 BaseMeta (RepositoryType repo, const Role &role, const Json::Value &json, const std::shared_ptr< MetaWithKeys > &signer)
 
int version () const
 
TimeStamp expiry () const
 
bool isExpired (const TimeStamp &now) const
 
Json::Value original () const
 
bool operator== (const BaseMeta &rhs) const
 

Additional Inherited Members

- Protected Attributes inherited from Uptane::BaseMeta
int version_ = {-1}
 
TimeStamp expiry_
 
Json::Value original_object_
 

Detailed Description

Definition at line 336 of file tuf.h.


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