CCF
Loading...
Searching...
No Matches
uvm_endorsements.h
Go to the documentation of this file.
1// Copyright (c) Microsoft Corporation. All rights reserved.
2// Licensed under the Apache 2.0 License.
3#pragma once
4
6
7namespace ccf::pal
8{
10 {
13 std::string svn;
14
15 bool operator==(const UVMEndorsements&) const = default;
16
17 inline std::string to_str()
18 {
19 return fmt::format("did: {}, feed: {}, svn: {}", did, feed, svn);
20 }
21 };
24
26 const std::vector<uint8_t>& uvm_endorsements_raw,
27 const pal::PlatformAttestationMeasurement& uvm_measurement);
28}
#define DECLARE_JSON_REQUIRED_FIELDS(TYPE,...)
Definition json.h:714
#define DECLARE_JSON_TYPE(TYPE)
Definition json.h:663
Definition attestation.h:20
UVMEndorsements verify_uvm_endorsements_descriptor(const std::vector< uint8_t > &uvm_endorsements_raw, const pal::PlatformAttestationMeasurement &uvm_measurement)
Definition uvm_endorsements.cpp:304
std::string DID
Definition uvm_endorsements.h:20
std::string Feed
Definition uvm_endorsements.h:21
Definition measurement.h:120
Definition uvm_endorsements.h:10
DID did
Definition uvm_endorsements.h:11
Feed feed
Definition uvm_endorsements.h:12
std::string svn
Definition uvm_endorsements.h:13
std::string to_str()
Definition uvm_endorsements.h:17
bool operator==(const UVMEndorsements &) const =default