PLCnext API Documentation 25.0.2.69
KeyPairType.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/System/Core/Enum.hxx"
9
10namespace Arp { namespace System { namespace Commons { namespace Security
11{
12
13enum class KeyPairType : uint8
14{
15 RSA_2048 = 0,
16 RSA_4096 = 1,
17 RSA_TPM_2048 = 2,
18 ECDSA_TPM_SECP256R1 = 3,
19 Unknown = 255,
20};
21
23// global stream operators of enum KeyPairType for logging and parsing
24ARP_CXX_SYMBOL_EXPORT std::ostream& operator<<(std::ostream& os, KeyPairType value);
25ARP_CXX_SYMBOL_EXPORT std::istream& operator>>(std::istream& is, KeyPairType& value);
26
27}}}} // end of namespace Arp::System::Commons::Security
28
29template<> struct fmt::formatter<Arp::System::Commons::Security::KeyPairType>: public fmt::ostream_formatter {};
std::uint8_t uint8
The Arp unsigned integer type of 1 byte size.
Definition: PrimitiveTypes.hpp:25
Root namespace for the PLCnext API