blpapi.TlsOptions¶
-
class
blpapi.TlsOptions¶ SSL configuration options
TlsOptionsinstances 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.
TlsOptionsobjects 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
TlsOptionsusing 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
TlsOptionsusing a DER encoded client credentials in PKCS#12 format and DER encoded trust material in PKCS#7 format from the specified files.
-
destroy()¶ Destructor.
-
static