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.24.6.1
Syntax public static TlsOptions CreateFromBlobs(
byte[] clientCredentialsRawData,
SecureString clientCredentialsPassword,
byte[] trustedCertificatesRawData
)
Public Shared Function CreateFromBlobs (
clientCredentialsRawData As Byte(),
clientCredentialsPassword As SecureString,
trustedCertificatesRawData As Byte()
) As TlsOptions
public:
static TlsOptions^ CreateFromBlobs(
array<unsigned char>^ clientCredentialsRawData,
SecureString^ clientCredentialsPassword,
array<unsigned char>^ trustedCertificatesRawData
)
static member CreateFromBlobs :
clientCredentialsRawData : byte[] *
clientCredentialsPassword : SecureString *
trustedCertificatesRawData : byte[] -> TlsOptions
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