CCF
Loading...
Searching...
No Matches
md_type.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/ds/json.h"
6
7namespace ccf::crypto
8{
9 enum class MDType
10 {
11 NONE = 0,
12 SHA1,
13 SHA256,
14 SHA384,
15 SHA512
16 };
17
19 MDType,
20 {{MDType::NONE, "NONE"},
21 {MDType::SHA1, "SHA1"},
22 {MDType::SHA256, "SHA256"},
23 {MDType::SHA384, "SHA384"},
24 {MDType::SHA512, "SHA512"}});
25}
#define DECLARE_JSON_ENUM(TYPE,...)
Definition json.h:837
Definition base64.h:10
MDType
Definition md_type.h:10