Couchbase .NET SDK __CB_SDK_VERSION__

Show / Hide Table of Contents

Class TlsSettings

A collection of TLS/SSL settings for Couchbase connections.

Inheritance
object
TlsSettings
Inherited Members
object.GetType()
object.ToString()
object.Equals(object)
object.Equals(object, object)
object.ReferenceEquals(object, object)
object.GetHashCode()
Namespace: Couchbase.Core.IO.Authentication
Assembly: Couchbase.NetClient.dll
Syntax
public sealed class TlsSettings

Constructors

View Source

TlsSettings()

Declaration
public TlsSettings()

Properties

View Source

EnableCertificateRevocation

Whether to enable certificate revocation checking.

Declaration
public bool EnableCertificateRevocation { get; set; }
Property Value
Type Description
bool
View Source

EnabledSslProtocols

Enabled SSL/TLS protocols. Defaults to TLS 1.2 and 1.3 (when supported).

Declaration
public SslProtocols EnabledSslProtocols { get; set; }
Property Value
Type Description
SslProtocols
View Source

HttpCertificateValidationCallback

Custom callback for HTTP server certificate validation (advanced scenarios).

Declaration
public RemoteCertificateValidationCallback? HttpCertificateValidationCallback { get; set; }
Property Value
Type Description
RemoteCertificateValidationCallback
View Source

HttpIgnoreRemoteCertificateNameMismatch

Whether to ignore server certificate name mismatches for HTTP connections.

Declaration
public bool HttpIgnoreRemoteCertificateNameMismatch { get; set; }
Property Value
Type Description
bool
View Source

KvCertificateValidationCallback

Custom callback for KV server certificate validation (advanced scenarios).

Declaration
public RemoteCertificateValidationCallback? KvCertificateValidationCallback { get; set; }
Property Value
Type Description
RemoteCertificateValidationCallback
View Source

KvIgnoreRemoteCertificateNameMismatch

Whether to ignore server certificate name mismatches for KV connections.

Declaration
public bool KvIgnoreRemoteCertificateNameMismatch { get; set; }
Property Value
Type Description
bool
View Source

TrustedServerCertificateFactory

Custom server CA certificates to trust (trust anchors). These are used to validate the server's certificate, NOT for client authentication.

Declaration
public ICertificateFactory? TrustedServerCertificateFactory { get; set; }
Property Value
Type Description
ICertificateFactory
  • View Source
In this article
Back to top Copyright © 2020 Couchbase, Inc. All rights reserved.