S2OPC OPCUA Toolkit
|
OPC UA server configuration structure. More...
#include <sopc_user_app_itf.h>
Data Fields | |
bool | freeCstringsFlag |
char ** | namespaces |
char ** | localeIds |
OpcUa_ApplicationDescription | serverDescription |
char * | serverCertPath |
char * | serverKeyPath |
bool | serverKeyEncrypted |
char * | serverPkiPath |
uint8_t | nbEndpoints |
SOPC_Endpoint_Config * | endpoints |
SOPC_KeyCertPair * | serverKeyCertPair |
SOPC_PKIProvider * | pki |
SOPC_MethodCallManager * | mcm |
SOPC_CreateMI_NodeAvailFunc * | nodeAvailFunc |
OPC UA server configuration structure.
bool SOPC_Server_Config::freeCstringsFlag |
A flag to indicate if the C strings contained in the server configuration (and endpoints) shall be freed
char** SOPC_Server_Config::namespaces |
An array of namespaces terminated by a NULL pointer. Index in array is the namespace index.
char** SOPC_Server_Config::localeIds |
An array of locale ids supported by the server terminated by a NULL pointer. The OpcUa_ApplicationDescription ApplicationName shall contains a definition for each supported locale (use SOPC_LocalizedText_AddOrSetLocalizedText to add them manually)
OpcUa_ApplicationDescription SOPC_Server_Config::serverDescription |
Application description of the server. Limitations: the gateway and discovery properties are ignored (each endpoint returns its URL as discovery URL)
char* SOPC_Server_Config::serverCertPath |
Temporary path to the server certificate (serverCertificate shall be instantiated by applicative code)
char* SOPC_Server_Config::serverKeyPath |
Temporary path to the server key (serverCertificate shall be instantiated by applicative code)
bool SOPC_Server_Config::serverKeyEncrypted |
Boolean to indicate if the private key is encrypted
char* SOPC_Server_Config::serverPkiPath |
Temporary path to the server public key infrastructure
uint8_t SOPC_Server_Config::nbEndpoints |
Number of endpoints defined by the server
SOPC_Endpoint_Config* SOPC_Server_Config::endpoints |
Endpoint configuration array
SOPC_KeyCertPair* SOPC_Server_Config::serverKeyCertPair |
Server key and certificate to be instantiated from path or bytes
SOPC_PKIProvider* SOPC_Server_Config::pki |
PKI provider to be instantiated. Possible use of SOPC_PKIProvider_CreateFromStore or SOPC_PKIProvider_CreateFromList.
SOPC_MethodCallManager* SOPC_Server_Config::mcm |
Method Call service configuration. Can be instantiated with SOPC_MethodCallManager_Create() or specific code by applicative code. Can be NULL if Method Call service is not used.
SOPC_CreateMI_NodeAvailFunc* SOPC_Server_Config::nodeAvailFunc |
If defined, the callback is called by CreateMonitoredItem service when NodeId is not already part of server AddressSpace. The callback indicates if it should be considered known by server (and might exist later). See SOPC_CreateMI_NodeAvailFunc for details.