ThingWorx C SDK
|
Tunnel Connection Details Structure Definition. More...
#include <twConnectionInfo.h>
Public Attributes | |
char * | ws_host |
uint16_t | ws_port |
twPasswdCallbackFunction | appkeyFunction |
char * | proxy_host |
uint16_t | proxy_port |
char * | proxy_user |
twPasswdCallbackFunction | proxy_pwd |
char * | subject_cn |
char * | subject_o |
char * | subject_ou |
char * | issuer_cn |
char * | issuer_o |
char * | issuer_ou |
char * | ca_cert_file |
char * | client_cert_file |
char * | client_key_file |
twPasswdCallbackFunction | client_key_passphrase |
char | selfsignedOk |
char | doNotValidateCert |
char | disableEncryption |
Tunnel Connection Details Structure Definition.
char* twConnectionInfo::ca_cert_file |
The certificate authority's cert file.
char* twConnectionInfo::client_cert_file |
The client's cert file.
char* twConnectionInfo::client_key_file |
The client's key file.
twPasswdCallbackFunction twConnectionInfo::client_key_passphrase |
The client's callback to obtain a key's passphrase.
char twConnectionInfo::disableEncryption |
If #TRUE, disable all encryption (very dangerous).
char twConnectionInfo::doNotValidateCert |
If #TRUE, do not validate certificates (dangerous).
char* twConnectionInfo::issuer_cn |
The common name of the issuer in the certificate.
char* twConnectionInfo::issuer_o |
The organization of the issuer in the certificate.
char* twConnectionInfo::issuer_ou |
The organizational unit of the issuer in the certificate.
char* twConnectionInfo::proxy_host |
< This is a pointer to a function which will be called whenever the client must provide an application key for authentication. You must implement this function and pass a pointer to it to initialize the API. This function must be of type twPasswdCallbackFunction and should have a format like the one shown below.
myPasswordCallback(char* passwdBuffer,unsigned int maxPasswordLength);
The implementation of this function must fill passwdBuffer with the current application key. The app key used to authenticate. The name of the proxy server.
uint16_t twConnectionInfo::proxy_port |
The port the proxy server is listening on.
twPasswdCallbackFunction twConnectionInfo::proxy_pwd |
The password callback to use to authenticate with the proxy server.
char* twConnectionInfo::proxy_user |
The username to use to authenticate with the proxy server.
char twConnectionInfo::selfsignedOk |
If #TRUE, accept self-signed certificates.
char* twConnectionInfo::subject_cn |
The common name of the subject in the certificate.
char* twConnectionInfo::subject_o |
The organization of the subject in the certificate.
char* twConnectionInfo::subject_ou |
The organizational unit of the subject in the certificate.
char* twConnectionInfo::ws_host |
The name of the websocket host server.
uint16_t twConnectionInfo::ws_port |
The port the websocket host server is listening on.