Aktualizr
C++ SOTA Client
src
libaktualizr
uptane
legacysecondary.h
1
#ifndef UPTANE_LEGACYSECONDARY_H_
2
#define UPTANE_LEGACYSECONDARY_H_
3
4
#include <string>
5
6
#include "uptane/managedsecondary.h"
7
#include "
utilities/types.h
"
8
9
namespace
Uptane
{
10
class
LegacySecondary
:
public
ManagedSecondary
{
11
public
:
12
explicit
LegacySecondary
(
const
SecondaryConfig
& sconfig_in);
13
14
private
:
15
bool
storeFirmware(
const
std::string& target_name,
const
std::string& content)
override
;
16
bool
getFirmwareInfo(std::string* target_name,
size_t
& target_len, std::string* sha256hash)
override
;
17
};
18
}
// namespace Uptane
19
20
#endif // UPTANE_LEGACYSECONDARY_H_
types.h
Uptane::LegacySecondary
Definition:
legacysecondary.h:10
Uptane::ManagedSecondary
Definition:
managedsecondary.h:21
Uptane::SecondaryConfig
Definition:
secondaryconfig.h:28
Uptane
Base data types that are used in The Update Framework (TUF), part of UPTANE.
Definition:
opcuabridgeclient.h:16
Generated by
1.8.14