S2OPC OPCUA Toolkit
|
High level interface to configure an OPC UA client. More...
Go to the source code of this file.
Typedefs | |
typedef bool | SOPC_GetPassword_Fct(char **outPassword) |
Type of callback to retrieve password for decryption of the client application private key or the user x509 token private key. More... | |
Functions | |
SOPC_ReturnStatus | SOPC_HelperConfigClient_SetClientKeyPasswordCallback (SOPC_GetPassword_Fct *getClientKeyPassword) |
Define the callback to retrieve password for decryption of the client private key. More... | |
SOPC_ReturnStatus | SOPC_HelperConfigClient_SetUserKeyPasswordCallback (SOPC_GetPassword_Fct *getUserKeyPassword) |
Define the callback to retrieve password for decryption of the user X509 token private key. More... | |
High level interface to configure an OPC UA client.
typedef bool SOPC_GetPassword_Fct(char **outPassword) |
Type of callback to retrieve password for decryption of the client application private key or the user x509 token private key.
[out] | outPassword | out parameter, the newly allocated password which shall be a zero-terminated string in case of success. |
outPassword
and set it back to NULL in case of failure. SOPC_ReturnStatus SOPC_HelperConfigClient_SetClientKeyPasswordCallback | ( | SOPC_GetPassword_Fct * | getClientKeyPassword | ) |
Define the callback to retrieve password for decryption of the client private key.
This is optional but if used it shall be defined before starting client and loading its configuration.
getClientKeyPassword | The callback to retrieve the password |
getClientKeyPassword
is invalid.SOPC_ReturnStatus SOPC_HelperConfigClient_SetUserKeyPasswordCallback | ( | SOPC_GetPassword_Fct * | getUserKeyPassword | ) |
Define the callback to retrieve password for decryption of the user X509 token private key.
This is optional but if used it shall be defined before starting client and loading its configuration.
getUserKeyPassword | The callback to retrieve the password |
getUserKeyPassword
is invalid.