PLCnext API Documentation  22.9.0.33
ItemInfo.hpp
1 //
3 // Copyright PHOENIX CONTACT Electronics GmbH
4 //
6 #pragma once
7 #include "Arp/System/Core/Arp.h"
8 namespace Arp { namespace System { namespace Commons { namespace Security
9 {
10 
11 class ItemInfo
12 {
13 public:
14  enum InfoType
15  {
16  Cert = 0,
17  CRL = 1,
18  };
19 
20  InfoType Type;
21 
22  // fields, which are common to all types
23  String Identifier;
24 
25  // fields which are just for Type == Cert
26  String CertSerialNumberHex;
27  String CertValidityNotBeforeIso8601;
28  String CertValidityNotAfterIso8601;
29  String CertSubjectRfc2253;
30  String CertSubjectAttributeCommonName;
31  String CertIssuerRfc2253;
32  String CertIssuerAttributeCommonName;
33 
34  // fields which are just for Type == CRL
35  String CrlNumberHex;
36  String CrlIssuerRfc2253;
37  String CrlIssuerAttributeCommonName;
38  String CrlThisUpdateIso8601;
39  String CrlNextUpdateIso8601; // empty if not present
40 };
41 
42 
43 }}}} // end of namespace Arp::System::Commons::Security
Definition: ItemInfo.hpp:12
@ System
System components used by the System, Device, Plc or Io domains.
Root namespace for the PLCnext API