S2OPC OPCUA Toolkit
|
Structure representing a secure connection configuration (secure channel + session) which allow to establish a connection to a server. More...
#include <sopc_user_app_itf.h>
Data Fields | |
const char * | userDefinedId |
SOPC_SecureChannel_Config | scConfig |
const char * | reverseURL |
bool | isServerCertFromPathNeeded |
char * | serverCertPath |
SOPC_KeyCertPairUpdateCb * | serverCertUpdateCb |
uintptr_t | serverCertUpdateParam |
SOPC_Session_Config | sessionConfig |
uint16_t | secureConnectionIdx |
uint32_t | reverseEndpointConfigIdx |
uint32_t | secureChannelConfigIdx |
bool | finalized |
Structure representing a secure connection configuration (secure channel + session) which allow to establish a connection to a server.
const char* SOPC_SecureConnection_Config::userDefinedId |
SOPC_SecureChannel_Config SOPC_SecureConnection_Config::scConfig |
const char* SOPC_SecureConnection_Config::reverseURL |
bool SOPC_SecureConnection_Config::isServerCertFromPathNeeded |
True if the following field shall be treated to configure the client
char* SOPC_SecureConnection_Config::serverCertPath |
Path to the server certificate if isServerCertFromPathNeeded true, NULL otherwise (scConfig.peerAppCert shall be instantiated by applicative code)
SOPC_KeyCertPairUpdateCb* SOPC_SecureConnection_Config::serverCertUpdateCb |
This callback shall be set in case the server certificate held by scConfig.peerAppCert needs to be updated at runtime.
uintptr_t SOPC_SecureConnection_Config::serverCertUpdateParam |
The parameter to provide to serverCertUpdateCb callback
SOPC_Session_Config SOPC_SecureConnection_Config::sessionConfig |
Session activation data
uint16_t SOPC_SecureConnection_Config::secureConnectionIdx |
Index into SOPC_Client_Config secureConnections array
uint32_t SOPC_SecureConnection_Config::reverseEndpointConfigIdx |
(Optional) Index of the Reverse Endpoint configuration to listen for server connection returned by SOPC_ToolkitClient_AddReverseEndpointConfig(). If not applicable it shall be 0.
uint32_t SOPC_SecureConnection_Config::secureChannelConfigIdx |
Index of the Secure Channel configuration for endpoint connection returned by SOPC_ToolkitClient_AddSecureChannelConfig(). It shall not be 0.
bool SOPC_SecureConnection_Config::finalized |