Class SslStreamSettings
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.dll
Represents settings for an SSL stream.
public class SslStreamSettings
- Inheritance
-
SslStreamSettings
- Inherited Members
Constructors
- SslStreamSettings(Optional<bool>, Optional<IEnumerable<X509Certificate>>, Optional<LocalCertificateSelectionCallback>, Optional<SslProtocols>, Optional<RemoteCertificateValidationCallback>)
Initializes a new instance of the SslStreamSettings class.
Properties
- CheckCertificateRevocation
Gets a value indicating whether to check for certificate revocation.
- ClientCertificateSelectionCallback
Gets the client certificate selection callback.
- ClientCertificates
Gets the client certificates.
- EnabledSslProtocols
Gets the enabled SSL protocols.
- ServerCertificateValidationCallback
Gets the server certificate validation callback.
Methods
- With(Optional<bool>, Optional<IEnumerable<X509Certificate>>, Optional<LocalCertificateSelectionCallback>, Optional<SslProtocols>, Optional<RemoteCertificateValidationCallback>)
Returns a new SsslStreamSettings instance with some settings changed.