SSLOptions Constructor (SslProtocols, Boolean, RemoteCertificateValidationCallback) |
Creates SSL options used for SSL connections with Casandra hosts.
Namespace: CassandraAssembly: Cassandra (in Cassandra.dll) Version: 3.4.0
Syntax 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