PLCnext API Documentation 25.0.2.69
IDeviceIdentityValidatorService.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/IRscService.hpp"
10#include "Arp/Base/Rsc/Commons/RscString.hxx"
11#include "Arp/System/Commons/Services/Security/IdentityValidationResult.hpp"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceIdentityValidatorService.cs
14
16{
17
18using namespace Arp::Base::Rsc::Commons;
19
28{
29public: // usings
30 using Ptr = std::shared_ptr<IDeviceIdentityValidatorService>;
31
32public: // construction/destruction
35
36public: // static policy operation
37 static IRscServiceProxyFactory& GetProxyFactory(void);
38
39public: // abstract operations
49 virtual IdentityValidationResult Validate(const RscString<16384>& pemTrustedCertificates, const RscString<80>& identityName) = 0;
50};
51
52} // end of namespace Arp::System::Commons::Services::Security
This is the base interface of all Rsc services.
Definition: IRscService.hpp:22
std::shared_ptr< IRscService > Ptr
The shared_ptr type of IRscService.
Definition: IRscService.hpp:25
Contains a static string with string lentgh up to N characters. The string shall be null terminated.
Definition: RscString.hxx:24
Interface for service proxy factories to create service proxies used by RSC clients.
Definition: IRscServiceProxyFactory.hpp:22
This service allows to validate device identities.
Definition: IDeviceIdentityValidatorService.hpp:28
virtual IdentityValidationResult Validate(const RscString< 16384 > &pemTrustedCertificates, const RscString< 80 > &identityName)=0
Performs the validation of a particular device identity. The identity is represented internally as a ...
IDeviceIdentityValidatorService(void)=default
Constructs an IDeviceIdentityValidatorService instance.
Represents the result of the validation of a device identity.
Definition: IdentityValidationResult.hpp:26
Namespace for security related services