Click or drag to resize
TlsOptionsCreateFromBlobs Method
Read the specified byte arrays 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 CreateFromBlobs(
	byte[] clientCredentialsRawData,
	SecureString clientCredentialsPassword,
	byte[] trustedCertificatesRawData
)

Parameters

clientCredentialsRawData
Type: SystemByte
A byte array that contains the BLPAPI client certificate and private key, in password-protected, DER encoded PKCS12 format.
clientCredentialsPassword
Type: System.SecuritySecureString
The password required to access the X.509 certificate data contained in clientCredentialsRawData
trustedCertificatesRawData
Type: SystemByte
A byte array that contains Bloomberg-provided trusted certificates in DER encoded PKCS7 format, with an empty password.

Return Value

Type: TlsOptions
A new TlsOptions object.
See Also