static public method CO2GTransport::setCAInfo

Brief

Sets the certificate authority to check the server certificate which ForexConnect connects to

Declaration
C++
static void  setCAInfo (const char *caFilePath)

Parameters
caFilePath

The path to a file with the certificate. The certificate must be in the PEM format.

Details

(for non-Windows operating systems only).

Setting of the certificate authority is needed only for non-Windows operating systems for ForexConnect to connect via HTTPS. On Windows operation systems a client should use the system certificate store.

This certificate will be used during the next call of the IO2GSession.login method.

Declared in CO2GTransport

back