Table of Contents

Class CryptClientSettings

Namespace
MongoDB.Driver.Core.Configuration
Assembly
MongoDB.Driver.Core.dll

Represents settings for a crypt client.

public sealed class CryptClientSettings
Inheritance
CryptClientSettings
Inherited Members

Constructors

CryptClientSettings(bool?, string, string, IReadOnlyDictionary<string, BsonDocument>, bool?, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>, IReadOnlyDictionary<string, BsonDocument>)

Initializes a new instance of the CryptClientSettings class.

public CryptClientSettings(bool? bypassQueryAnalysis, string cryptSharedLibPath, string cryptSharedLibSearchPath, IReadOnlyDictionary<string, BsonDocument> encryptedFieldsMap, bool? isCryptSharedLibRequired, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> kmsProviders, IReadOnlyDictionary<string, BsonDocument> schemaMap)

Parameters

bypassQueryAnalysis bool?

The bypass query analysis.

cryptSharedLibPath string

The crypt shared library library path.

cryptSharedLibSearchPath string

The crypt shared library search path.

encryptedFieldsMap IReadOnlyDictionary<string, BsonDocument>

The encrypted fields map.

isCryptSharedLibRequired bool?

Value indicating whether crypt shared library is required.

kmsProviders IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>

The KMS providers.

schemaMap IReadOnlyDictionary<string, BsonDocument>

The schema map.

Properties

BypassQueryAnalysis

Gets a value indicating whether query analysis should be bypassed.

public bool? BypassQueryAnalysis { get; }

Property Value

bool?

CryptSharedLibPath

Gets the crypt shared library path.

public string CryptSharedLibPath { get; }

Property Value

string

CryptSharedLibSearchPath

Gets the crypt shared library search path.

public string CryptSharedLibSearchPath { get; }

Property Value

string

EncryptedFieldsMap

Gets the encrypted fields map.

public IReadOnlyDictionary<string, BsonDocument> EncryptedFieldsMap { get; }

Property Value

IReadOnlyDictionary<string, BsonDocument>

IsCryptSharedLibRequired

Gets a value indicating whether crypt shared library is required.

public bool? IsCryptSharedLibRequired { get; }

Property Value

bool?

KmsProviders

Gets the KMS providers.

public IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> KmsProviders { get; }

Property Value

IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>

SchemaMap

Gets the schema map.

public IReadOnlyDictionary<string, BsonDocument> SchemaMap { get; }

Property Value

IReadOnlyDictionary<string, BsonDocument>

Methods

Equals(object)

public override bool Equals(object obj)

Parameters

obj object

Returns

bool

GetHashCode()

public override int GetHashCode()

Returns

int