S2OPC OPCUA Toolkit
sopc_user_app_itf.h
Go to the documentation of this file.
1 /*
2  * Licensed to Systerel under one or more contributor license
3  * agreements. See the NOTICE file distributed with this work
4  * for additional information regarding copyright ownership.
5  * Systerel licenses this file to you under the Apache
6  * License, Version 2.0 (the "License"); you may not use this
7  * file except in compliance with the License. You may obtain
8  * a copy of the License at
9  *
10  * http://www.apache.org/licenses/LICENSE-2.0
11  *
12  * Unless required by applicable law or agreed to in writing,
13  * software distributed under the License is distributed on an
14  * "AS IS" BASIS, WITHOUT WARRANTIES OR CONDITIONS OF ANY
15  * KIND, either express or implied. See the License for the
16  * specific language governing permissions and limitations
17  * under the License.
18  */
19 
26 #ifndef SOPC_USER_APP_ITF_H_
27 #define SOPC_USER_APP_ITF_H_
28 
29 #include <stdbool.h>
30 
32 #include "sopc_common_build_info.h"
33 #include "sopc_crypto_profiles.h"
34 #include "sopc_key_cert_pair.h"
35 #include "sopc_key_manager.h"
38 #include "sopc_types.h"
39 #include "sopc_user_manager.h"
40 
45 
50 {
51  uint8_t isClientSc;
60  const char* serverUri;
64  const char* url;
66  const SOPC_SerializedCertificate* peerAppCert; /*< Peer application certificate:
67  isClientSc => serverCertificate (configuration data)
68  !isClientSc => clientCertificate (runtime data) */
69  const char* reqSecuPolicyUri;
70  uint32_t requestedLifetime;
76 
77 #define SOPC_SECURITY_MODE_NONE_MASK 0x01
78 #define SOPC_SECURITY_MODE_SIGN_MASK 0x02
79 #define SOPC_SECURITY_MODE_SIGNANDENCRYPT_MASK 0x04
80 #define SOPC_SECURITY_MODE_ANY_MASK 0x07
81 
82 #ifndef SOPC_MAX_SECU_POLICIES_CFG
83 #define SOPC_MAX_SECU_POLICIES_CFG 5 /* Maximum number of security policies in a configuration array */
84 #endif
85 
86 /* Maximum number of client secure connections */
87 #ifndef SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG
88 #define SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG SOPC_MAX_SECURE_CONNECTIONS
89 #else
90 #if SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG > UINT16_MAX
91 #error "Maximum number of secure connections configuration cannot be > UINT16_MAX"
92 #endif
93 #endif
94 
98 typedef struct SOPC_SecurityPolicy
99 {
101  uint16_t securityModes;
111 
116 
127 {
132 
136 typedef struct SOPC_Endpoint_Config
137 {
139  char* endpointURL;
141  uint8_t nbSecuConfigs;
150  /* To be instantiated by applicative code: */
156  /* Configure reverse connection mechanism */
157  bool noListening;
163 
169 {
170  char* userCertPath;
172  char* userKeyPath;
175 
179 typedef struct SOPC_Session_UserX509
180 {
183 
190 
194 typedef struct SOPC_Session_UserName
195 {
196  char* userName;
197  char* userPwd;
199 
203 typedef struct SOPC_Session_Config
204 {
205  const char* userPolicyId;
207  union
208  {
212 
214 
220 {
221  const char* userDefinedId; // Optional user defined id
222 
224  const char* reverseURL;
225 
233  bool finalized;
236 
242 {
250 
255 {
286 };
287 
313 typedef bool SOPC_CreateMI_NodeAvailFunc(const SOPC_NodeId* nodeId,
314  OpcUa_NodeClass* outNodeClass,
315  SOPC_StatusCode* outUnavailabilityStatus);
316 
321 {
324  char** namespaces;
327  char** localeIds;
339  uint8_t nbEndpoints;
342  /* To be instantiated by applicative code: */
355 };
356 
360 typedef struct SOPC_S2OPC_Config
361 {
365 
369 typedef uint32_t SOPC_SessionId;
370 
374 typedef enum SOPC_App_Com_Event
375 {
376  /* Client application events */
417  /* Server application events */
429 
430 /* Server only interfaces */
431 
436 {
437  /* Server application events */
438  AS_WRITE_EVENT = 0x800,
442 
446 typedef void SOPC_ComEvent_Fct(SOPC_App_Com_Event event, uint32_t IdOrStatus, void* param, uintptr_t appContext);
447 
451 typedef void SOPC_AddressSpaceNotif_Fct(const SOPC_CallContext* callCtxPtr,
453  void* opParam,
454  SOPC_StatusCode opStatus);
455 
459 typedef struct
460 {
464 
472 
480 
487 
494 
501 
508 
509 #endif // SOPC_USER_APP_ITF_H_
SOPC_SecureConnection_Config::isServerCertFromPathNeeded
bool isServerCertFromPathNeeded
Definition: sopc_user_app_itf.h:226
OpcUa_UserTokenType
enum _OpcUa_UserTokenType OpcUa_UserTokenType
SOPC_SecureConnection_Config::secureConnectionIdx
uint16_t secureConnectionIdx
Definition: sopc_user_app_itf.h:232
SOPC_Endpoint_Config
Server configuration of a Endpoint connection listener.
Definition: sopc_user_app_itf.h:137
SOPC_NodeId
This structure describes a basic NodeID in OPC UA.
Definition: sopc_builtintypes.h:187
sopc_types.h
SOPC_SecurityPolicy
struct SOPC_SecurityPolicy SOPC_SecurityPolicy
Endpoint security policy configuration.
SOPC_Client_ConfigFromPaths::clientCertPath
char * clientCertPath
Definition: sopc_user_app_itf.h:243
SOPC_Client_Config::reverseEndpointURLs
char * reverseEndpointURLs[SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG]
Definition: sopc_user_app_itf.h:284
SOPC_SecureConnection_Config::finalized
bool finalized
Definition: sopc_user_app_itf.h:233
SE_SESSION_REACTIVATING
@ SE_SESSION_REACTIVATING
Definition: sopc_user_app_itf.h:390
SOPC_Session_Config::userTokenType
OpcUa_UserTokenType userTokenType
Definition: sopc_user_app_itf.h:206
SOPC_Endpoint_Config::nbSecuConfigs
uint8_t nbSecuConfigs
Definition: sopc_user_app_itf.h:141
SOPC_S2OPC_Config::clientConfig
SOPC_Client_Config clientConfig
Definition: sopc_user_app_itf.h:363
SOPC_SessionId
uint32_t SOPC_SessionId
Session identifier type, instances are generated by SE_ACTIVATED_SESSION.
Definition: sopc_user_app_itf.h:369
SOPC_Client_ConfigFromPaths
Client temporary configuration structure used to store client certificate / key / PKI configuration d...
Definition: sopc_user_app_itf.h:242
SOPC_Endpoint_Config::nbClientsToConnect
uint16_t nbClientsToConnect
Definition: sopc_user_app_itf.h:158
_OpcUa_UserTokenPolicy
Definition: sopc_types.h:921
SOPC_SecureChannel_Config::clientConfigPtr
const SOPC_Client_Config * clientConfigPtr
Definition: sopc_user_app_itf.h:53
SOPC_StatusCode
uint32_t SOPC_StatusCode
Definition: libs2opc_client.h:60
SOPC_Session_Config::userName
SOPC_Session_UserName userName
Definition: sopc_user_app_itf.h:209
SOPC_SerializedAsymmetricKey
SOPC_SecretBuffer SOPC_SerializedAsymmetricKey
A serialized representation of an asymmetric key.
Definition: sopc_key_manager.h:44
SE_RCV_SESSION_RESPONSE
@ SE_RCV_SESSION_RESPONSE
Definition: sopc_user_app_itf.h:395
SOPC_Session_UserName
Client configuration structure used to store session activation data for a user name token type.
Definition: sopc_user_app_itf.h:195
sopc_user_manager.h
Defines the user manager, the applicative interface used to authenticate users, and authorize read/wr...
sopc_key_manager.h
The SOPC_KeyManager provides an API for Asymmetric Key Management such as loading signed public keys ...
_OpcUa_ApplicationDescription
Definition: sopc_types.h:893
SOPC_Session_UserX509
struct SOPC_Session_UserX509 SOPC_Session_UserX509
Client configuration structure used to store session activation data for an X509 user token type.
SOPC_SecureConnection_Config::serverCertPath
char * serverCertPath
Definition: sopc_user_app_itf.h:227
SOPC_S2OPC_Config
S2OPC configuration.
Definition: sopc_user_app_itf.h:361
SOPC_Server_Config::serverDescription
OpcUa_ApplicationDescription serverDescription
Definition: sopc_user_app_itf.h:330
OpcUa_MessageSecurityMode
OpcUa_MessageSecurityMode
Definition: libs2opc_client.h:89
SOPC_UserAuthorization_Manager
Definition: sopc_user_manager.h:157
SOPC_Endpoint_Config
struct SOPC_Endpoint_Config SOPC_Endpoint_Config
Server configuration of a Endpoint connection listener.
SOPC_CreateMI_NodeAvailFunc
bool SOPC_CreateMI_NodeAvailFunc(const SOPC_NodeId *nodeId, OpcUa_NodeClass *outNodeClass, SOPC_StatusCode *outUnavailabilityStatus)
Type of the callback called by CreateMonitoredItem service when a NodeId is not already part of serve...
Definition: sopc_user_app_itf.h:313
SOPC_SecurityPolicy::securityPolicy
SOPC_String securityPolicy
Definition: sopc_user_app_itf.h:100
SOPC_Session_UserName::userName
char * userName
Definition: sopc_user_app_itf.h:196
SOPC_Session_Config
Client configuration structure used to store session activation configuration data.
Definition: sopc_user_app_itf.h:204
SOPC_Toolkit_Build_Info::commonBuildInfo
SOPC_Build_Info commonBuildInfo
Definition: sopc_user_app_itf.h:461
SOPC_Client_Config::clientPKI
SOPC_PKIProvider * clientPKI
Definition: sopc_user_app_itf.h:276
SOPC_Server_Config::freeCstringsFlag
bool freeCstringsFlag
Definition: sopc_user_app_itf.h:322
SOPC_SecureChannel_Config
struct SOPC_SecureChannel_Config SOPC_SecureChannel_Config
Client configuration of a Secure Channel.
SOPC_S2OPC_Config_Initialize
void SOPC_S2OPC_Config_Initialize(SOPC_S2OPC_Config *config)
Initialize the content of the SOPC_S2OPC_Config. Calls both SOPC_ServerConfig_Initialize and SOPC_Cli...
SE_SND_REQUEST_FAILED
@ SE_SND_REQUEST_FAILED
Definition: sopc_user_app_itf.h:411
SOPC_SecureChannel_Config::isClientSc
uint8_t isClientSc
Definition: sopc_user_app_itf.h:51
SOPC_Toolkit_Build_Info::clientServerBuildInfo
SOPC_Build_Info clientServerBuildInfo
Definition: sopc_user_app_itf.h:462
SE_REVERSE_ENDPOINT_CLOSED
@ SE_REVERSE_ENDPOINT_CLOSED
Definition: sopc_user_app_itf.h:377
SOPC_Endpoint_Config::hasDiscoveryEndpoint
bool hasDiscoveryEndpoint
Definition: sopc_user_app_itf.h:140
SOPC_Endpoint_Config::clientsToConnect
SOPC_Server_ClientToConnect clientsToConnect[SOPC_MAX_REVERSE_CLIENT_CONNECTIONS]
Definition: sopc_user_app_itf.h:160
SOPC_Client_Config::isConfigFromPathsNeeded
bool isConfigFromPathsNeeded
Definition: sopc_user_app_itf.h:270
sopc_service_call_context.h
Defines abstract context type that can be use to obtain context associated to a service call (write,...
SE_SESSION_ACTIVATION_FAILURE
@ SE_SESSION_ACTIVATION_FAILURE
Definition: sopc_user_app_itf.h:381
SOPC_Server_Config::mcm
SOPC_MethodCallManager * mcm
Definition: sopc_user_app_itf.h:346
SOPC_SecureConnection_Config::reverseURL
const char * reverseURL
Definition: sopc_user_app_itf.h:224
SOPC_SecureConnection_Config
struct SOPC_SecureConnection_Config SOPC_SecureConnection_Config
Structure representing a secure connection configuration (secure channel + session) which allow to es...
sopc_key_cert_pair.h
The SOPC_KeyCertPair stores a private key and certificate pair and allows to update it and triggering...
SOPC_Client_ConfigFromPaths::clientKeyPath
char * clientKeyPath
Definition: sopc_user_app_itf.h:245
SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG
#define SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG
Definition: sopc_user_app_itf.h:88
SOPC_Buffer
Bytes buffer structure.
Definition: sopc_buffer.h:38
OpcUa_NodeClass
enum _OpcUa_NodeClass OpcUa_NodeClass
SOPC_ServerConfig_Clear
void SOPC_ServerConfig_Clear(SOPC_Server_Config *config)
Clear the content of the SOPC_Server_Config.
SE_CLOSED_ENDPOINT
@ SE_CLOSED_ENDPOINT
Definition: sopc_user_app_itf.h:418
SOPC_MAX_REVERSE_CLIENT_CONNECTIONS
#define SOPC_MAX_REVERSE_CLIENT_CONNECTIONS
Maximum number of configured reverse connection from a server endpoint to clients.
Definition: sopc_toolkit_config_constants.h:113
SOPC_Server_Config::serverKeyEncrypted
bool serverKeyEncrypted
Definition: sopc_user_app_itf.h:337
SOPC_Client_ConfigFromPaths
struct SOPC_Client_ConfigFromPaths SOPC_Client_ConfigFromPaths
Client temporary configuration structure used to store client certificate / key / PKI configuration d...
SOPC_Server_Config::nodeAvailFunc
SOPC_CreateMI_NodeAvailFunc * nodeAvailFunc
Definition: sopc_user_app_itf.h:350
SOPC_ClientConfig_Clear
void SOPC_ClientConfig_Clear(SOPC_Client_Config *config)
Clear the content of the SOPC_Client_Config.
_OpcUa_GetEndpointsResponse
Definition: sopc_types.h:2434
SOPC_S2OPC_Config::serverConfig
SOPC_Server_Config serverConfig
Definition: sopc_user_app_itf.h:362
SOPC_String
This structure provides string encapsulation.
Definition: sopc_builtintypes.h:149
SOPC_Endpoint_Config::authenticationManager
SOPC_UserAuthentication_Manager * authenticationManager
Definition: sopc_user_app_itf.h:152
SOPC_MAX_SECU_POLICIES_CFG
#define SOPC_MAX_SECU_POLICIES_CFG
Definition: sopc_user_app_itf.h:83
SOPC_Server_Config::pki
SOPC_PKIProvider * pki
Definition: sopc_user_app_itf.h:344
SOPC_Endpoint_Config::serverConfigPtr
SOPC_Server_Config * serverConfigPtr
Definition: sopc_user_app_itf.h:138
SOPC_SecurityPolicy::nbOfUserTokenPolicies
uint8_t nbOfUserTokenPolicies
Definition: sopc_user_app_itf.h:102
SOPC_SecureChannel_Config::expectedEndpoints
const OpcUa_GetEndpointsResponse * expectedEndpoints
Definition: sopc_user_app_itf.h:57
SOPC_Server_ClientToConnect
struct SOPC_Server_ClientToConnect SOPC_Server_ClientToConnect
OPC UA server client to reverse connect configuration type. From specification part 6 (v1....
SOPC_Server_ClientToConnect::clientApplicationURI
char * clientApplicationURI
Definition: sopc_user_app_itf.h:128
SOPC_Session_UserX509_ConfigFromPaths::userKeyEncrypted
bool userKeyEncrypted
Definition: sopc_user_app_itf.h:173
SOPC_Session_Config::userToken
union SOPC_Session_Config::@1 userToken
SOPC_SecureChannel_Config::reqSecuPolicyUri
const char * reqSecuPolicyUri
Definition: sopc_user_app_itf.h:69
SOPC_Build_Info
Definition: sopc_common_build_info.h:26
SOPC_AddressSpaceNotif_Fct
void SOPC_AddressSpaceNotif_Fct(const SOPC_CallContext *callCtxPtr, SOPC_App_AddSpace_Event event, void *opParam, SOPC_StatusCode opStatus)
Toolkit address space notification events callback type.
Definition: sopc_user_app_itf.h:451
SOPC_ClientConfig_Initialize
void SOPC_ClientConfig_Initialize(SOPC_Client_Config *config)
Initialize the content of the SOPC_Client_Config.
SOPC_Client_Config::secureConnections
SOPC_SecureConnection_Config * secureConnections[SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG]
Definition: sopc_user_app_itf.h:280
SOPC_Client_Config::nbReverseEndpointURLs
uint16_t nbReverseEndpointURLs
Definition: sopc_user_app_itf.h:283
SOPC_SecureChannel_Config::url
const char * url
Definition: sopc_user_app_itf.h:64
SOPC_UserAuthentication_Manager
Definition: sopc_user_manager.h:148
SOPC_Server_Config::nbEndpoints
uint8_t nbEndpoints
Definition: sopc_user_app_itf.h:339
SE_CLOSED_SESSION
@ SE_CLOSED_SESSION
Definition: sopc_user_app_itf.h:401
SOPC_KeyCertPair
struct SOPC_KeyCertPair SOPC_KeyCertPair
An abstract structure used to store a pair of private key and certificate.
Definition: sopc_key_cert_pair.h:39
SOPC_SecurityPolicy::securityModes
uint16_t securityModes
Definition: sopc_user_app_itf.h:101
sopc_common_build_info.h
sopc_call_method_manager.h
Contains the types to be used by the method call manager to configure the Call service.
SOPC_Server_Config::serverPkiPath
char * serverPkiPath
Definition: sopc_user_app_itf.h:338
SOPC_SecureChannel_Config::internalProtocolData
uintptr_t internalProtocolData
Definition: sopc_user_app_itf.h:73
SOPC_Client_Config::clientDescription
OpcUa_ApplicationDescription clientDescription
Definition: sopc_user_app_itf.h:257
SOPC_Server_Config::serverKeyPath
char * serverKeyPath
Definition: sopc_user_app_itf.h:335
SOPC_Endpoint_Config::endpointURL
char * endpointURL
Definition: sopc_user_app_itf.h:139
SOPC_SecurityPolicy::userTokenPolicies
OpcUa_UserTokenPolicy userTokenPolicies[SOPC_MAX_SECU_POLICIES_CFG]
Definition: sopc_user_app_itf.h:104
SOPC_Endpoint_Config::secuConfigurations
SOPC_SecurityPolicy secuConfigurations[SOPC_MAX_SECU_POLICIES_CFG]
Definition: sopc_user_app_itf.h:143
AS_WRITE_EVENT
@ AS_WRITE_EVENT
Definition: sopc_user_app_itf.h:438
SOPC_Server_Config::endpoints
SOPC_Endpoint_Config * endpoints
Definition: sopc_user_app_itf.h:340
SOPC_Session_Config::userPolicyId
const char * userPolicyId
Definition: sopc_user_app_itf.h:205
SOPC_Client_Config::nbSecureConnections
uint16_t nbSecureConnections
Definition: sopc_user_app_itf.h:278
SOPC_Session_UserX509_ConfigFromPaths
Client temporary configuration structure used to store user X509 configuration data from paths....
Definition: sopc_user_app_itf.h:169
SOPC_SecureConnection_Config::scConfig
SOPC_SecureChannel_Config scConfig
Definition: sopc_user_app_itf.h:223
SOPC_App_Com_Event
SOPC_App_Com_Event
Client and Server communication events to be managed by applicative code.
Definition: sopc_user_app_itf.h:375
SOPC_Session_Config
struct SOPC_Session_Config SOPC_Session_Config
Client configuration structure used to store session activation configuration data.
SOPC_Client_Config::clientLocaleIds
char ** clientLocaleIds
Definition: sopc_user_app_itf.h:265
SOPC_Session_UserX509::configFromPaths
SOPC_Session_UserX509_ConfigFromPaths * configFromPaths
Definition: sopc_user_app_itf.h:186
SOPC_Session_UserX509::certX509
SOPC_SerializedCertificate * certX509
Definition: sopc_user_app_itf.h:181
SOPC_SecureChannel_Config
Client configuration of a Secure Channel.
Definition: sopc_user_app_itf.h:50
SOPC_Session_UserName::userPwd
char * userPwd
Definition: sopc_user_app_itf.h:197
SOPC_SecureChannel_Config::requestedLifetime
uint32_t requestedLifetime
Definition: sopc_user_app_itf.h:70
SOPC_SecurityPolicy
Endpoint security policy configuration.
Definition: sopc_user_app_itf.h:99
SOPC_SecureChannel_Config::peerAppCert
const SOPC_SerializedCertificate * peerAppCert
Definition: sopc_user_app_itf.h:66
SOPC_Toolkit_Build_Info
Toolkit build information.
Definition: sopc_user_app_itf.h:460
SOPC_SecureChannel_Config::msgSecurityMode
OpcUa_MessageSecurityMode msgSecurityMode
Definition: sopc_user_app_itf.h:71
SOPC_Client_Config::configFromPaths
SOPC_Client_ConfigFromPaths * configFromPaths
Definition: sopc_user_app_itf.h:271
SOPC_ComEvent_Fct
void SOPC_ComEvent_Fct(SOPC_App_Com_Event event, uint32_t IdOrStatus, void *param, uintptr_t appContext)
Toolkit communication events application callback type.
Definition: sopc_user_app_itf.h:446
SOPC_Session_UserX509_ConfigFromPaths::userKeyPath
char * userKeyPath
Definition: sopc_user_app_itf.h:172
SOPC_Client_Config::clientKeyCertPair
SOPC_KeyCertPair * clientKeyCertPair
Definition: sopc_user_app_itf.h:275
SOPC_Server_Config::localeIds
char ** localeIds
Definition: sopc_user_app_itf.h:327
SOPC_Client_Config::freeCstringsFlag
bool freeCstringsFlag
Definition: sopc_user_app_itf.h:263
SOPC_Session_UserName
struct SOPC_Session_UserName SOPC_Session_UserName
Client configuration structure used to store session activation data for a user name token type.
SOPC_SecureChannel_Config::serverUri
const char * serverUri
Definition: sopc_user_app_itf.h:60
SOPC_App_AddSpace_Event
SOPC_App_AddSpace_Event
Server address space access/modification notifications to applicative code.
Definition: sopc_user_app_itf.h:436
SOPC_Endpoint_Config::noListening
bool noListening
Definition: sopc_user_app_itf.h:157
SOPC_MethodCallManager
The SOPC_MethodCallManager object defines the common interface for the method manager.
Definition: sopc_call_method_manager.h:113
SOPC_Session_UserX509::keyX509
SOPC_SerializedAsymmetricKey * keyX509
Definition: sopc_user_app_itf.h:182
SOPC_SecureConnection_Config
Structure representing a secure connection configuration (secure channel + session) which allow to es...
Definition: sopc_user_app_itf.h:220
SOPC_CallContext
Definition: app_cb_call_context_internal.h:28
SE_ACTIVATED_SESSION
@ SE_ACTIVATED_SESSION
Definition: sopc_user_app_itf.h:386
SOPC_Server_Config::namespaces
char ** namespaces
Definition: sopc_user_app_itf.h:324
SOPC_Session_UserX509
Client configuration structure used to store session activation data for an X509 user token type.
Definition: sopc_user_app_itf.h:180
SE_RCV_DISCOVERY_RESPONSE
@ SE_RCV_DISCOVERY_RESPONSE
Definition: sopc_user_app_itf.h:406
SOPC_Server_ClientToConnect::clientEndpointURL
char * clientEndpointURL
Definition: sopc_user_app_itf.h:130
SOPC_SecureConnection_Config::userDefinedId
const char * userDefinedId
Definition: sopc_user_app_itf.h:221
sopc_toolkit_config_constants.h
Contains the configuration constants used by the Tookit. Those constants could be modified for specif...
SOPC_Client_ConfigFromPaths::clientKeyEncrypted
bool clientKeyEncrypted
Definition: sopc_user_app_itf.h:247
SOPC_Client_Config
OPC UA client configuration structure.
Definition: sopc_user_app_itf.h:255
SOPC_Endpoint_Config::authorizationManager
SOPC_UserAuthorization_Manager * authorizationManager
Definition: sopc_user_app_itf.h:154
SOPC_Server_Config::serverKeyCertPair
SOPC_KeyCertPair * serverKeyCertPair
Definition: sopc_user_app_itf.h:343
SOPC_PKIProvider
struct SOPC_PKIProvider SOPC_PKIProvider
Definition: sopc_crypto_decl.h:38
SOPC_Session_UserX509::isConfigFromPathNeeded
bool isConfigFromPathNeeded
Definition: sopc_user_app_itf.h:184
sopc_crypto_profiles.h
Defines the cryptographic profiles: constants and struct.
SOPC_Client_ConfigFromPaths::clientPkiPath
char * clientPkiPath
Definition: sopc_user_app_itf.h:248
SOPC_Server_ClientToConnect
OPC UA server client to reverse connect configuration type. From specification part 6 (v1....
Definition: sopc_user_app_itf.h:127
SE_LOCAL_SERVICE_RESPONSE
@ SE_LOCAL_SERVICE_RESPONSE
Definition: sopc_user_app_itf.h:422
SOPC_ServerConfig_Initialize
void SOPC_ServerConfig_Initialize(SOPC_Server_Config *config)
Initialize the content of the SOPC_Server_Config.
SOPC_Session_Config::userX509
SOPC_Session_UserX509 userX509
Definition: sopc_user_app_itf.h:210
SOPC_Session_UserX509_ConfigFromPaths
struct SOPC_Session_UserX509_ConfigFromPaths SOPC_Session_UserX509_ConfigFromPaths
Client temporary configuration structure used to store user X509 configuration data from paths....
SOPC_S2OPC_Config
struct SOPC_S2OPC_Config SOPC_S2OPC_Config
S2OPC configuration.
SOPC_SecureConnection_Config::sessionConfig
SOPC_Session_Config sessionConfig
Definition: sopc_user_app_itf.h:230
SOPC_Server_Config::serverCertPath
char * serverCertPath
Definition: sopc_user_app_itf.h:333
SOPC_Session_UserX509_ConfigFromPaths::userCertPath
char * userCertPath
Definition: sopc_user_app_itf.h:170
SOPC_S2OPC_Config_Clear
void SOPC_S2OPC_Config_Clear(SOPC_S2OPC_Config *config)
Clear the content of the SOPC_S2OPC_Config Calls both SOPC_ServerConfig_Clear and SOPC_ClientConfig_C...
SOPC_Server_Config
OPC UA server configuration structure.
Definition: sopc_user_app_itf.h:321