CCF
Loading...
Searching...
No Matches
include
ccf
service
tables
host_data.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
5
#include "
ccf/crypto/sha256_hash.h
"
6
#include "
ccf/service/map.h
"
7
8
using
HostData
=
ccf::crypto::Sha256Hash
;
9
using
HostDataMetadata
=
10
std::string;
// Optional raw (i.e. not base64-encoded) policy
11
12
namespace
ccf
13
{
14
using
SnpHostDataMap
=
ServiceMap<HostData, HostDataMetadata>
;
15
namespace
Tables
16
{
17
static
constexpr
auto
HOST_DATA =
"public:ccf.gov.nodes.snp.host_data"
;
18
}
19
}
ccf::crypto::Sha256Hash
Definition
sha256_hash.h:16
ccf::kv::TypedMap
Definition
map.h:30
HostDataMetadata
std::string HostDataMetadata
Definition
host_data.h:10
ccf
Definition
app_interface.h:15
ccf::SnpHostDataMap
ServiceMap< HostData, HostDataMetadata > SnpHostDataMap
Definition
host_data.h:14
map.h
sha256_hash.h
Generated by
1.9.8