Click or drag to resize
TlsOptionsCreateFromFiles Method
Read the specified files to obtain client credentials and trust material that a Session created with session options with property TlsOptions set to the return value of this function will use to establish secure connections.

Namespace:  Bloomberglp.Blpapi
Assembly:  Bloomberglp.Blpapi (in Bloomberglp.Blpapi.dll) Version: 3.13.2.1
Syntax
public static TlsOptions CreateFromFiles(
	string clientCredentialsFileName,
	SecureString clientCredentialsPassword,
	string trustedCertificatesFileName
)

Parameters

clientCredentialsFileName
Type: SystemString
The name of a password-protected, DER encoded PKCS12 file containing the BLPAPI client certificate and private key.
clientCredentialsPassword
Type: System.SecuritySecureString
The password required to access the X.509 certificate data contained in clientCredentialsFileName
trustedCertificatesFileName
Type: SystemString
The name of a DER encoded PKCS7 file with empty password containing Bloomberg-provided trusted certificates.

Return Value

Type: TlsOptions
A new TlsOptions object.
See Also