blpapi.TlsOptions
- class blpapi.TlsOptions
SSL configuration options
TlsOptions
instances maintain client credentials and trust material used by a session to establish secure mutually authenticated connections to endpoints.The client credentials comprise an encrypted private key with a client certificate. The trust material comprises one or more certificates.
TlsOptions
objects are created usingcreateFromFiles()
orcreateFromBlobs()
accepting the DER encoded client credentials in PKCS#12 format and the DER encoded trusted material in PKCS#7 format.- static createFromBlobs(clientCredentials, clientCredentialsPassword, trustedCertificates)
- Parameters
Creates a
TlsOptions
using a DER encoded client credentials in PKCS#12 format and DER encoded trust material in PKCS#7 format from the given raw data.
- static createFromFiles(clientCredentialsFilename, clientCredentialsPassword, trustedCertificatesFilename)
- Parameters
Creates a
TlsOptions
using a DER encoded client credentials in PKCS#12 format and DER encoded trust material in PKCS#7 format from the specified files.
- destroy()
Destroy the handle using stored dtor