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"
36 #include "sopc_pki_decl.h"
39 #include "sopc_types.h"
40 #include "sopc_user_manager.h"
41 
46 
51 {
52  uint8_t isClientSc;
61  const char* serverUri;
65  const char* url;
70  const char* reqSecuPolicyUri;
71  uint32_t requestedLifetime;
77 
78 #define SOPC_SECURITY_MODE_NONE_MASK 0x01
79 #define SOPC_SECURITY_MODE_SIGN_MASK 0x02
80 #define SOPC_SECURITY_MODE_SIGNANDENCRYPT_MASK 0x04
81 #define SOPC_SECURITY_MODE_ANY_MASK 0x07
82 
83 #ifndef SOPC_MAX_SECU_POLICIES_CFG
84 #define SOPC_MAX_SECU_POLICIES_CFG 5 /* Maximum number of security policies in a configuration array */
85 #endif
86 
87 /* Maximum number of client secure connections */
88 #ifndef SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG
89 #define SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG SOPC_MAX_SECURE_CONNECTIONS
90 #else
91 #if SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG > UINT16_MAX
92 #error "Maximum number of secure connections configuration cannot be > UINT16_MAX"
93 #endif
94 #endif
95 
99 typedef struct SOPC_SecurityPolicy
100 {
102  uint16_t securityModes;
112 
117 
128 {
133 
137 typedef struct SOPC_Endpoint_Config
138 {
140  char* endpointURL;
142  uint8_t nbSecuConfigs;
150  /* Configure reverse connection mechanism */
151  bool noListening;
157 
163 {
164  char* userCertPath;
166  char* userKeyPath;
169 
173 typedef struct SOPC_Session_UserX509
174 {
177 
184 
188 typedef struct SOPC_Session_UserName
189 {
190  char* userName;
191  char* userPwd;
193 
197 typedef struct SOPC_Session_Config
198 {
199  const char* userPolicyId;
201  union
202  {
206 
208 
214 {
215  const char* userDefinedId; // Optional user defined id
216 
218  const char* reverseURL;
219 
235  bool finalized;
238 
244 {
252 
257 {
288 };
289 
315 typedef bool SOPC_CreateMI_NodeAvailFunc(const SOPC_NodeId* nodeId,
316  OpcUa_NodeClass* outNodeClass,
317  SOPC_StatusCode* outUnavailabilityStatus);
318 
323 {
326  char** namespaces;
329  char** localeIds;
341  uint8_t nbEndpoints;
344  /* To be instantiated by applicative code: */
361 };
362 
366 typedef struct SOPC_S2OPC_Config
367 {
371 
375 typedef uint32_t SOPC_SessionId;
376 
380 typedef enum SOPC_App_Com_Event
381 {
382  /* Client application events */
432  /* Server application events */
447 
448 /* Server only interfaces */
449 
454 {
455  /* Server application events */
456  AS_WRITE_EVENT = 0x800,
462 
466 typedef void SOPC_ComEvent_Fct(SOPC_App_Com_Event event, uint32_t IdOrStatus, void* param, uintptr_t appContext);
467 
471 typedef void SOPC_AddressSpaceNotif_Fct(const SOPC_CallContext* callCtxPtr,
473  void* opParam,
474  SOPC_StatusCode opStatus);
475 
479 typedef struct
480 {
484 
492 
500 
507 
514 
521 
528 
529 #endif // SOPC_USER_APP_ITF_H_
sopc_pki_decl.h
Defines the common declarations for the PKI objects. The structures and macros defined in this file a...
SOPC_SecureConnection_Config::isServerCertFromPathNeeded
bool isServerCertFromPathNeeded
Definition: sopc_user_app_itf.h:220
OpcUa_UserTokenType
enum _OpcUa_UserTokenType OpcUa_UserTokenType
SOPC_SecureConnection_Config::secureConnectionIdx
uint16_t secureConnectionIdx
Definition: sopc_user_app_itf.h:229
SOPC_Endpoint_Config
Server configuration of a Endpoint connection listener.
Definition: sopc_user_app_itf.h:138
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:245
SOPC_Server_Config::authorizationManager
SOPC_UserAuthorization_Manager * authorizationManager
Definition: sopc_user_app_itf.h:360
SOPC_Client_Config::reverseEndpointURLs
char * reverseEndpointURLs[SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG]
Definition: sopc_user_app_itf.h:286
SOPC_SecureConnection_Config::finalized
bool finalized
Definition: sopc_user_app_itf.h:235
SE_SESSION_REACTIVATING
@ SE_SESSION_REACTIVATING
Definition: sopc_user_app_itf.h:399
SOPC_Session_Config::userTokenType
OpcUa_UserTokenType userTokenType
Definition: sopc_user_app_itf.h:200
SOPC_Endpoint_Config::nbSecuConfigs
uint8_t nbSecuConfigs
Definition: sopc_user_app_itf.h:142
SOPC_S2OPC_Config::clientConfig
SOPC_Client_Config clientConfig
Definition: sopc_user_app_itf.h:369
SOPC_SessionId
uint32_t SOPC_SessionId
Session identifier type, instances are generated by SE_ACTIVATED_SESSION.
Definition: sopc_user_app_itf.h:375
SOPC_Client_ConfigFromPaths
Client temporary configuration structure used to store client certificate / key / PKI configuration d...
Definition: sopc_user_app_itf.h:244
SOPC_SecureConnection_Config::serverCertUpdateParam
uintptr_t serverCertUpdateParam
Definition: sopc_user_app_itf.h:225
SOPC_Endpoint_Config::nbClientsToConnect
uint16_t nbClientsToConnect
Definition: sopc_user_app_itf.h:152
SOPC_PKIProvider
The PKIProvider object for the Public Key Infrastructure.
Definition: sopc_pki_struct_lib_internal.h:129
_OpcUa_UserTokenPolicy
Definition: sopc_types.h:921
SOPC_SecureChannel_Config::clientConfigPtr
const SOPC_Client_Config * clientConfigPtr
Definition: sopc_user_app_itf.h:54
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:203
SE_RCV_SESSION_RESPONSE
@ SE_RCV_SESSION_RESPONSE
Definition: sopc_user_app_itf.h:404
SOPC_Session_UserName
Client configuration structure used to store session activation data for a user name token type.
Definition: sopc_user_app_itf.h:189
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:221
SOPC_SecureConnection_Config::serverCertUpdateCb
SOPC_KeyCertPairUpdateCb * serverCertUpdateCb
Definition: sopc_user_app_itf.h:223
SOPC_S2OPC_Config
S2OPC configuration.
Definition: sopc_user_app_itf.h:367
SOPC_Server_Config::serverDescription
OpcUa_ApplicationDescription serverDescription
Definition: sopc_user_app_itf.h:332
OpcUa_MessageSecurityMode
OpcUa_MessageSecurityMode
Definition: libs2opc_client.h:89
SOPC_UserAuthorization_Manager
Definition: sopc_user_manager.h:161
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:315
SOPC_SecurityPolicy::securityPolicy
SOPC_String securityPolicy
Definition: sopc_user_app_itf.h:101
SOPC_Session_UserName::userName
char * userName
Definition: sopc_user_app_itf.h:190
SOPC_Session_Config
Client configuration structure used to store session activation configuration data.
Definition: sopc_user_app_itf.h:198
SOPC_Toolkit_Build_Info::commonBuildInfo
SOPC_Build_Info commonBuildInfo
Definition: sopc_user_app_itf.h:481
SOPC_Client_Config::clientPKI
SOPC_PKIProvider * clientPKI
Definition: sopc_user_app_itf.h:278
SOPC_Server_Config::freeCstringsFlag
bool freeCstringsFlag
Definition: sopc_user_app_itf.h:324
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:424
SOPC_SecureChannel_Config::isClientSc
uint8_t isClientSc
Definition: sopc_user_app_itf.h:52
SOPC_Toolkit_Build_Info::clientServerBuildInfo
SOPC_Build_Info clientServerBuildInfo
Definition: sopc_user_app_itf.h:482
SOPC_SerializedAsymmetricKey
SOPC_SecretBuffer SOPC_SerializedAsymmetricKey
A serialized representation of an asymmetric key.
Definition: sopc_crypto_decl.h:70
SE_REVERSE_ENDPOINT_CLOSED
@ SE_REVERSE_ENDPOINT_CLOSED
Definition: sopc_user_app_itf.h:383
SOPC_Endpoint_Config::hasDiscoveryEndpoint
bool hasDiscoveryEndpoint
Definition: sopc_user_app_itf.h:141
SOPC_Endpoint_Config::clientsToConnect
SOPC_Server_ClientToConnect clientsToConnect[SOPC_MAX_REVERSE_CLIENT_CONNECTIONS]
Definition: sopc_user_app_itf.h:154
SOPC_Client_Config::isConfigFromPathsNeeded
bool isConfigFromPathsNeeded
Definition: sopc_user_app_itf.h:272
SOPC_KeyCertPairUpdateCb
void SOPC_KeyCertPairUpdateCb(uintptr_t updateParam)
Type of the callback triggered on key / certificate update.
Definition: sopc_key_cert_pair.h:46
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:388
SOPC_Server_Config::mcm
SOPC_MethodCallManager * mcm
Definition: sopc_user_app_itf.h:348
SOPC_SecureConnection_Config::reverseURL
const char * reverseURL
Definition: sopc_user_app_itf.h:218
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:247
SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG
#define SOPC_MAX_CLIENT_SECURE_CONNECTIONS_CONFIG
Definition: sopc_user_app_itf.h:89
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:433
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:339
SOPC_Client_ConfigFromPaths
struct SOPC_Client_ConfigFromPaths SOPC_Client_ConfigFromPaths
Client temporary configuration structure used to store client certificate / key / PKI configuration d...
SOPC_SecureConnection_Config::secureChannelConfigIdx
uint32_t secureChannelConfigIdx
Definition: sopc_user_app_itf.h:233
SOPC_Server_Config::nodeAvailFunc
SOPC_CreateMI_NodeAvailFunc * nodeAvailFunc
Definition: sopc_user_app_itf.h:352
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:368
SOPC_String
This structure provides string encapsulation.
Definition: sopc_builtintypes.h:149
SOPC_MAX_SECU_POLICIES_CFG
#define SOPC_MAX_SECU_POLICIES_CFG
Definition: sopc_user_app_itf.h:84
SOPC_Server_Config::pki
SOPC_PKIProvider * pki
Definition: sopc_user_app_itf.h:346
SOPC_Endpoint_Config::serverConfigPtr
SOPC_Server_Config * serverConfigPtr
Definition: sopc_user_app_itf.h:139
SOPC_SecurityPolicy::nbOfUserTokenPolicies
uint8_t nbOfUserTokenPolicies
Definition: sopc_user_app_itf.h:103
SOPC_SecureChannel_Config::expectedEndpoints
const OpcUa_GetEndpointsResponse * expectedEndpoints
Definition: sopc_user_app_itf.h:58
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:129
SOPC_Session_UserX509_ConfigFromPaths::userKeyEncrypted
bool userKeyEncrypted
Definition: sopc_user_app_itf.h:167
SOPC_Session_Config::userToken
union SOPC_Session_Config::@1 userToken
SOPC_SecureChannel_Config::reqSecuPolicyUri
const char * reqSecuPolicyUri
Definition: sopc_user_app_itf.h:70
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:471
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:282
SOPC_Client_Config::nbReverseEndpointURLs
uint16_t nbReverseEndpointURLs
Definition: sopc_user_app_itf.h:285
SOPC_SecureChannel_Config::url
const char * url
Definition: sopc_user_app_itf.h:65
SOPC_UserAuthentication_Manager
Definition: sopc_user_manager.h:149
SOPC_Server_Config::nbEndpoints
uint8_t nbEndpoints
Definition: sopc_user_app_itf.h:341
SE_CLOSED_SESSION
@ SE_CLOSED_SESSION
Definition: sopc_user_app_itf.h:412
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:102
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:340
SOPC_SecureChannel_Config::internalProtocolData
uintptr_t internalProtocolData
Definition: sopc_user_app_itf.h:74
SOPC_Client_Config::clientDescription
OpcUa_ApplicationDescription clientDescription
Definition: sopc_user_app_itf.h:259
SOPC_Server_Config::serverKeyPath
char * serverKeyPath
Definition: sopc_user_app_itf.h:337
SOPC_Endpoint_Config::endpointURL
char * endpointURL
Definition: sopc_user_app_itf.h:140
SOPC_SecurityPolicy::userTokenPolicies
OpcUa_UserTokenPolicy userTokenPolicies[SOPC_MAX_SECU_POLICIES_CFG]
Definition: sopc_user_app_itf.h:105
SOPC_Endpoint_Config::secuConfigurations
SOPC_SecurityPolicy secuConfigurations[SOPC_MAX_SECU_POLICIES_CFG]
Definition: sopc_user_app_itf.h:144
AS_WRITE_EVENT
@ AS_WRITE_EVENT
Definition: sopc_user_app_itf.h:456
SOPC_Server_Config::endpoints
SOPC_Endpoint_Config * endpoints
Definition: sopc_user_app_itf.h:342
SOPC_Session_Config::userPolicyId
const char * userPolicyId
Definition: sopc_user_app_itf.h:199
SOPC_Client_Config::nbSecureConnections
uint16_t nbSecureConnections
Definition: sopc_user_app_itf.h:280
SOPC_Session_UserX509_ConfigFromPaths
Client temporary configuration structure used to store user X509 configuration data from paths....
Definition: sopc_user_app_itf.h:163
SOPC_SecureConnection_Config::scConfig
SOPC_SecureChannel_Config scConfig
Definition: sopc_user_app_itf.h:217
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:381
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:267
SOPC_Session_UserX509::configFromPaths
SOPC_Session_UserX509_ConfigFromPaths * configFromPaths
Definition: sopc_user_app_itf.h:180
SOPC_Session_UserX509::certX509
SOPC_SerializedCertificate * certX509
Definition: sopc_user_app_itf.h:175
SOPC_SecureChannel_Config
Client configuration of a Secure Channel.
Definition: sopc_user_app_itf.h:51
SOPC_Session_UserName::userPwd
char * userPwd
Definition: sopc_user_app_itf.h:191
SOPC_SecureChannel_Config::requestedLifetime
uint32_t requestedLifetime
Definition: sopc_user_app_itf.h:71
SOPC_SecurityPolicy
Endpoint security policy configuration.
Definition: sopc_user_app_itf.h:100
SOPC_Server_Config::authenticationManager
SOPC_UserAuthentication_Manager * authenticationManager
Definition: sopc_user_app_itf.h:358
SOPC_Toolkit_Build_Info
Toolkit build information.
Definition: sopc_user_app_itf.h:480
SOPC_SecureChannel_Config::msgSecurityMode
OpcUa_MessageSecurityMode msgSecurityMode
Definition: sopc_user_app_itf.h:72
SOPC_Client_Config::configFromPaths
SOPC_Client_ConfigFromPaths * configFromPaths
Definition: sopc_user_app_itf.h:273
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:466
SOPC_Session_UserX509_ConfigFromPaths::userKeyPath
char * userKeyPath
Definition: sopc_user_app_itf.h:166
SOPC_Client_Config::clientKeyCertPair
SOPC_KeyCertPair * clientKeyCertPair
Definition: sopc_user_app_itf.h:277
SOPC_Server_Config::localeIds
char ** localeIds
Definition: sopc_user_app_itf.h:329
SOPC_Client_Config::freeCstringsFlag
bool freeCstringsFlag
Definition: sopc_user_app_itf.h:265
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:61
SOPC_App_AddSpace_Event
SOPC_App_AddSpace_Event
Server address space access/modification notifications to applicative code.
Definition: sopc_user_app_itf.h:454
SOPC_Endpoint_Config::noListening
bool noListening
Definition: sopc_user_app_itf.h:151
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:176
SOPC_SecureConnection_Config
Structure representing a secure connection configuration (secure channel + session) which allow to es...
Definition: sopc_user_app_itf.h:214
SOPC_CallContext
Definition: app_cb_call_context_internal.h:28
SOPC_SecureChannel_Config::peerAppCert
SOPC_CertHolder * peerAppCert
Definition: sopc_user_app_itf.h:67
SE_ACTIVATED_SESSION
@ SE_ACTIVATED_SESSION
Definition: sopc_user_app_itf.h:394
SOPC_Server_Config::namespaces
char ** namespaces
Definition: sopc_user_app_itf.h:326
SOPC_Session_UserX509
Client configuration structure used to store session activation data for an X509 user token type.
Definition: sopc_user_app_itf.h:174
SE_RCV_DISCOVERY_RESPONSE
@ SE_RCV_DISCOVERY_RESPONSE
Definition: sopc_user_app_itf.h:418
SOPC_Server_ClientToConnect::clientEndpointURL
char * clientEndpointURL
Definition: sopc_user_app_itf.h:131
SOPC_SecureConnection_Config::userDefinedId
const char * userDefinedId
Definition: sopc_user_app_itf.h:215
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:249
SOPC_Client_Config
OPC UA client configuration structure.
Definition: sopc_user_app_itf.h:257
SOPC_Server_Config::serverKeyCertPair
SOPC_KeyCertPair * serverKeyCertPair
Definition: sopc_user_app_itf.h:345
SOPC_Session_UserX509::isConfigFromPathNeeded
bool isConfigFromPathNeeded
Definition: sopc_user_app_itf.h:178
sopc_crypto_profiles.h
Defines the cryptographic profiles: constants and struct.
SOPC_Client_ConfigFromPaths::clientPkiPath
char * clientPkiPath
Definition: sopc_user_app_itf.h:250
SOPC_Server_ClientToConnect
OPC UA server client to reverse connect configuration type. From specification part 6 (v1....
Definition: sopc_user_app_itf.h:128
SE_LOCAL_SERVICE_RESPONSE
@ SE_LOCAL_SERVICE_RESPONSE
Definition: sopc_user_app_itf.h:438
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:204
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:227
SOPC_SecureConnection_Config::reverseEndpointConfigIdx
uint32_t reverseEndpointConfigIdx
Definition: sopc_user_app_itf.h:230
SOPC_CertHolder
SOPC_KeyCertPair SOPC_CertHolder
An abstract structure used to store a certificate in a thread-safe context.
Definition: sopc_key_cert_pair.h:168
SOPC_Server_Config::serverCertPath
char * serverCertPath
Definition: sopc_user_app_itf.h:335
SOPC_Session_UserX509_ConfigFromPaths::userCertPath
char * userCertPath
Definition: sopc_user_app_itf.h:164
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:323