Click or drag to resize
SSLOptions Constructor (SslProtocols, Boolean, RemoteCertificateValidationCallback)
Creates SSL options used for SSL connections with Casandra hosts.

Namespace: Dse
Assembly: Dse (in Dse.dll) Version: 2.2.0
Syntax
C#
public SSLOptions(
	SslProtocols sslProtocol,
	bool checkCertificateRevocation,
	RemoteCertificateValidationCallback remoteCertValidationCallback
)

Parameters

sslProtocol
Type: System.Security.AuthenticationSslProtocols
type of SSL protocol, default set to Tls.
checkCertificateRevocation
Type: SystemBoolean
specifies whether the certificate revocation list is checked during connection authentication.
remoteCertValidationCallback
Type: System.Net.SecurityRemoteCertificateValidationCallback
verifies Cassandra host SSL certificate used for authentication.
Remarks
Default RemoteCertificateValidationCallback won't establish a connection if any error will occur.
See Also