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
using
VirtualHostDataMap
=
ServiceSet<HostData>
;
16
namespace
Tables
17
{
18
static
constexpr
auto
HOST_DATA =
"public:ccf.gov.nodes.snp.host_data"
;
19
static
constexpr
auto
VIRTUAL_HOST_DATA =
20
"public:ccf.gov.nodes.virtual.host_data"
;
21
}
22
}
ccf::crypto::Sha256Hash
Definition
sha256_hash.h:16
ccf::kv::TypedMap
Definition
map.h:30
ccf::kv::TypedSet
Definition
set.h:33
HostDataMetadata
std::string HostDataMetadata
Definition
host_data.h:10
ccf
Definition
app_interface.h:14
map.h
sha256_hash.h
Generated by
1.9.8