PLCnext API Documentation 25.0.2.69
IdentityValidationResult.hpp
1
2//
3// Copyright Phoenix Contact GmbH & Co. KG
4//
6#pragma once
8#include "Arp/Base/Rsc/Commons/Rsc.hpp"
9#include "Arp/Base/Rsc/Commons/RscSerializable.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11#include "Arp/System/Commons/Services/Security/IdentityValidationError.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED
14
16{
17
18using namespace Arp;
19using namespace Arp::Base::Rsc::Commons;
20using namespace Arp::Base::Rsc::Commons::Services;
21
26{
27public: // construction/destruction
29 IdentityValidationResult(IdentityValidationError error, const RscString<512>& subject, const RscString<80>& subjectCommonName, const RscString<80>& subjectSerialNumber);
30
31public: // Properties
36
44
54
68
69public: // Rsc operations
70 void Serialize(RscWriter& writer)const;
71 void Deserialize(RscReader& reader);
72 static size_t GetFieldCount(void);
73};
74
75} // end of namespace Arp::System::Commons::Services::Security
Any custom struct type which is intended to be marshalled in a Rsc serialization context,...
Definition: RscSerializable.hpp:35
Reads marshaled data of RSC services.
Definition: RscReader.hpp:34
Writes marshalled data of RSC services.
Definition: RscWriter.hpp:34
Represents the result of the validation of a device identity.
Definition: IdentityValidationResult.hpp:26
RscString< 80 > SubjectCommonName
The CommonName component of the subject field from the certificate of the identity.
Definition: IdentityValidationResult.hpp:53
IdentityValidationResult(void)
Constructs an IdentityValidationResult instance.
RscString< 80 > SubjectSerialNumber
The SerialNumbner component of the subject field from the certificate of the identity.
Definition: IdentityValidationResult.hpp:67
RscString< 512 > Subject
The subject field from the certificate of the identity represented as text conforming to RFC 2253.
Definition: IdentityValidationResult.hpp:43
Namespace for security related services
IdentityValidationError
Numeric indicator about the success or failure of the validation of a device identity.
Definition: IdentityValidationError.hpp:22
Root namespace for the PLCnext API