PLCnext API Documentation 23.6.0.37
IDeviceIdentityValidatorService.hpp
1
2//
3// Copyright PHOENIX CONTACT Electronics GmbH
4//
6#pragma once
8#include "Arp/System/Commons/Services/Security/DeviceIdentityValidatorServiceProxyFactory.hpp"
9#include "Arp/System/Commons/Services/Security/IdentityValidationResult.hpp"
10#include "Arp/System/Rsc/Services/IRscService.hpp"
11#include "Arp/System/Rsc/Services/RscString.hxx"
12
13// DO NOT MODIFY THIS FILE, THIS FILE IS AUTOGENERATED BY IDeviceIdentityValidatorService.cs
14
15namespace Arp { namespace System { namespace Commons { namespace Services { namespace Security
16{
17
18using namespace Arp;
19using namespace Arp::System::Rsc::Services;
20
29{
30public: // typedefs
31 using Ptr = std::shared_ptr<IDeviceIdentityValidatorService>;
32
33public: // construction/destruction
36
37public: // static policy operation
38 static IRscServiceProxyFactory& GetProxyFactory(void);
39
40public: // abstract operations
50 virtual IdentityValidationResult Validate(const RscString<16384>& pemTrustedCertificates, const RscString<80>& identityName) = 0;
51};
52
54// inline methods of class IDeviceIdentityValidatorService
55inline IRscServiceProxyFactory& IDeviceIdentityValidatorService::GetProxyFactory()
56{
57 return DeviceIdentityValidatorServiceProxyFactory::GetInstance();
58}
59
60}}}}} // end of namespace Arp::System::Commons::Services::Security
This service allows to validate device identities.
Definition: IDeviceIdentityValidatorService.hpp:29
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
Base interface for all Rsc service interface.
Definition: IRscService.hpp:20
Contains a static string with string lentgh up to N characters. The string has to be null terminated.
Definition: RscString.hxx:21
@ System
System components used by the System, Device, Plc or Io domains.
Namespace for classes and interfaces for the Remote Service Call implementation
Root namespace for the PLCnext API