Keypop Calypso Crypto Legacy SAM C++ API - 1.0.0
Component of the Keypop C++ API
GetDataTag.hpp
Go to the documentation of this file.
1/******************************************************************************
2 * Copyright (c) 2025 Calypso Networks Association https://calypsonet.org/ *
3 * *
4 * This program and the accompanying materials are made available under the *
5 * terms of the MIT License which is available at *
6 * https://opensource.org/licenses/MIT. *
7 * *
8 * SPDX-License-Identifier: MIT *
9 ******************************************************************************/
10
11#pragma once
12
13namespace keypop {
14namespace calypso {
15namespace crypto {
16namespace legacysam {
17
25enum class GetDataTag {
34};
35
36inline const char*
37name(GetDataTag getDataTag) {
38 switch (getDataTag) {
40 return "CA_CERTIFICATE";
41 default:
42 return "UNKNOWN";
43 }
44}
45
46} /* namespace legacysam */
47} /* namespace crypto */
48} /* namespace calypso */
49} /* namespace keypop */
GetDataTag
Enumeration of all output data tags.
Definition: GetDataTag.hpp:25
const char * name(GetDataTag getDataTag)
Definition: GetDataTag.hpp:37