Go to the documentation of this file.
26 #ifndef LIBS2OPC_CLIENT_CONFIG_H_
27 #define LIBS2OPC_CLIENT_CONFIG_H_
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:121
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:209
SOPC_ReturnStatus SOPC_ClientConfigHelper_ConfigureFromXML(const char *clientConfigPath, SOPC_ConfigClientXML_Custom *customConfig, size_t *nbScConfigs, SOPC_SecureConnection_Config ***scConfigArray)
Configure 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_GetClientUserKeyPassword_Fct(const char *userCertThumb, char **outPassword)
Type of callback to retrieve password for decryption of the user private key.
Definition: libs2opc_client_config.h:181
SOPC_ReturnStatus SOPC_ClientConfigHelper_SetClientKeyPasswordCallback(SOPC_GetPassword_Fct *getClientKeyPassword)
Defines the callback to retrieve password for decryption of the client private key.
void SOPC_ClientConfigHelper_Clear(void)
Clear the S2OPC client frontend configuration It shall be done before a call to SOPC_CommonHelper_Cle...
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:58
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:221
SOPC_ReturnStatus SOPC_ClientConfigHelper_Initialize(void)
Initialize the S2OPC client frontend configuration Call to SOPC_ClientConfigHelper_Initialize is requ...
Encodeable object type structure definition. It provides all the services functions associated with t...
Definition: sopc_encodeabletype.h:161
SOPC_ReturnStatus SOPC_ClientConfigHelper_SetServiceAsyncResponse(SOPC_ServiceAsyncResp_Fct *asyncRespCb)
Define the service response callback to be used.
bool SOPC_GetClientUserNamePassword_Fct(char **outUserName, char **outPassword)
Type of callback to retrieve username and password for session activation.
Definition: libs2opc_client_config.h:153
SOPC_ReturnStatus
Definition: libs2opc_client.h:64