Go to the documentation of this file.
26 #ifndef LIBS2OPC_CLIENT_CONFIG_H_
27 #define LIBS2OPC_CLIENT_CONFIG_H_
204 const char* userCertThumb,
const char * SOPC_ClientConfigHelper_GetUserIdFromConfig(const SOPC_SecureConnection_Config *secConnConfig)
Returns the user defined identifier attached to a secure connection configuration....
void SOPC_ServiceAsyncResp_Fct(SOPC_EncodeableType *type, const void *response, uintptr_t userContext)
Type of callback to provide asynchronous service response.
Definition: libs2opc_client_config.h:138
bool SOPC_GetPassword_Fct(char **outPassword)
Type of callback to retrieve password for decryption of the client application private key or the use...
Definition: libs2opc_client_config.h:233
SOPC_ReturnStatus SOPC_ClientConfigHelper_ConfigureFromXML(const char *clientConfigPath, SOPC_ConfigClientXML_Custom *customConfig, size_t *nbScConfigs, SOPC_SecureConnection_Config ***scConfigArray)
Configures client from XML configuration files for: client connections.
SOPC_ReturnStatus SOPC_ClientConfigHelper_SetUserKeyPasswordCallback(SOPC_GetClientUserKeyPassword_Fct *getClientX509userKeyPassword)
Defines the callback to retrieve password for decryption of the user X509 token private key.
bool SOPC_GetClientUserNamePassword_Fct(const SOPC_SecureConnection_Config *secConnConfig, char **outUserName, char **outPassword)
Type of callback to retrieve username and password for session activation.
Definition: libs2opc_client_config.h:171
SOPC_ReturnStatus SOPC_ClientConfigHelper_SetClientKeyPasswordCallback(SOPC_GetPassword_Fct *getClientKeyPassword)
Defines the callback to retrieve password for decryption of the client private key.
bool SOPC_GetClientUserKeyPassword_Fct(const SOPC_SecureConnection_Config *secConnConfig, const char *userCertThumb, char **outPassword)
Type of callback to retrieve password for decryption of the user private key.
Definition: libs2opc_client_config.h:203
void SOPC_ClientConfigHelper_Clear(void)
Clears the S2OPC client frontend configuration It shall be done before a call to SOPC_CommonHelper_Cl...
struct SOPC_ConfigClientXML_Custom SOPC_ConfigClientXML_Custom
Structure reserved for future use in order to customize the configuration through XML....
Definition: libs2opc_client_config.h:63
SOPC_SecureConnection_Config * SOPC_ClientConfigHelper_GetConfigFromId(const char *userDefinedId)
Returns the secure connection configuration which has the given user defined identifier....
Contains the types to be used by the user application to use the Toolkit.
SOPC_ReturnStatus SOPC_ClientConfigHelper_SetUserNamePasswordCallback(SOPC_GetClientUserNamePassword_Fct *getClientUsernamePassword)
Defines the callback to retrieve the username and password to activate the client session....
Structure representing a secure connection configuration (secure channel + session) which allow to es...
Definition: sopc_user_app_itf.h:216
SOPC_ReturnStatus SOPC_ClientConfigHelper_Initialize(void)
Initializes the S2OPC client frontend configuration Call to SOPC_ClientConfigHelper_Initialize is req...
Encodeable object type structure definition. It provides all the services functions associated with t...
Definition: sopc_encodeabletype.h:164
SOPC_ReturnStatus SOPC_ClientConfigHelper_SetServiceAsyncResponse(SOPC_ServiceAsyncResp_Fct *asyncRespCb)
Defines the service response callback to be used.
SOPC_ReturnStatus
Definition: libs2opc_client.h:64