SSP21-CPP
ContainerEntryType.h
1 //
2 // _ _ ______ _ _ _ _ _ _ _
3 // | \ | | | ____| | (_) | (_) | | | |
4 // | \| | ___ | |__ __| |_| |_ _ _ __ __ _| | | |
5 // | . ` |/ _ \ | __| / _` | | __| | '_ \ / _` | | | |
6 // | |\ | (_) | | |___| (_| | | |_| | | | | (_| |_|_|_|
7 // |_| \_|\___/ |______\__,_|_|\__|_|_| |_|\__, (_|_|_)
8 // __/ |
9 // |___/
10 //
11 // This file is auto-generated. Do not edit manually
12 //
13 // Licensed under the terms of the BSDv3 license
14 //
15 
16 #ifndef SSP21_CONTAINERENTRYTYPE_H
17 #define SSP21_CONTAINERENTRYTYPE_H
18 
19 #include <cstdint>
20 #include "ser4cpp/util/Uncopyable.h"
21 
22 namespace ssp21 {
23 
24 /**
25  enumerates the possible entry types in a container file
26 */
27 enum class ContainerEntryType : uint8_t
28 {
29  /// 256-bit shared secret
30  shared_secret = 0x0,
31  /// industrial certificate chain
32  certificate_chain = 0x1,
33  /// X25519 private key
34  x25519_public_key = 0x2,
35  /// X25519 private key
36  x25519_private_key = 0x3,
37  /// Ed25519 private key
38  ed25519_public_key = 0x4,
39  /// Ed25519 private key
40  ed25519_private_key = 0x5,
41  /// value not defined
42  undefined = 0xFF
43 };
44 
46 {
48 
49  static uint8_t to_type(ContainerEntryType arg);
50  static ContainerEntryType from_type(uint8_t arg);
51  static const char* to_string(ContainerEntryType arg);
52 };
53 
54 }
55 
56 #endif
SSP21-cpp main namespace.
Definition: BufferTypes.h:12