Pdftools SDK
|
The handler and options for communication to remote server. More...
#include <PdfTools_Types.h>
The handler and options for communication to remote server.
This class can be used to configure HTTP and HTTPS communication.
Also see PdfTools_Sdk_GetProxy for the product wide proxy configuration.
For HTTPS (SSL/TLS) communication, the server certificate's trustworthiness is verified using the system's default trust store (CA certificate store). If the server certificate's trustworthiness cannot be determined, the connection to the server is aborted.
The default trust store is:
CertMgr
tool. The certificate store is only available if the user profile has been loaded.CAfile
and CApath
are trusted:CAfile
: The file can contain a concatenated sequence of CA certificates in PEM format. The SDK searches for the file at the following locations:libssl.so
is found), orSSL_CERT_FILE
, or/etc/ssl/cert.pem
.CApath
: A directory containing CA certificates in PEM format. The files are looked up by the CA subject name hash value, e.g. 9d66eef0.0
. The SDK searches for the directory at the following locations:libssl.so
is found), orSSL_CERT_DIR
, or/etc/ssl/certs/
.You can add more certificates to the trust store using PdfTools_HttpClientHandler_AddTrustedCertificate.
Instances of this class can be used in multiple threads concurrently, as long as they are not modified concurrently.