Table of Contents

Class AutoEncryptionOptions

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.dll

Auto encryption options.

public class AutoEncryptionOptions
Inheritance
AutoEncryptionOptions
Inherited Members

Constructors

AutoEncryptionOptions(CollectionNamespace, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>, Optional<bool>, Optional<IReadOnlyDictionary<string, object>>, Optional<IMongoClient>, Optional<IReadOnlyDictionary<string, BsonDocument>>, Optional<IReadOnlyDictionary<string, SslSettings>>, Optional<IReadOnlyDictionary<string, BsonDocument>>, Optional<bool?>)

Initializes a new instance of the AutoEncryptionOptions class.

Properties

BypassAutoEncryption

Gets a value indicating whether to bypass automatic encryption.

BypassQueryAnalysis

Gets a value indicating whether to bypass query analysis.

EncryptedFieldsMap

Gets the encrypted fields map. Supplying an encryptedFieldsMap provides more security than relying on an encryptedFields obtained from the server. It protects against a malicious server advertising a false encryptedFields.

ExtraOptions

Gets the extra options.

KeyVaultClient

Gets the key vault client.

KeyVaultNamespace

Gets the key vault namespace.

KmsProviders

Gets the KMS providers.

SchemaMap

Gets the schema map.

TlsOptions

Gets the tls options.

Methods

Equals(object)
GetHashCode()
ToString()
With(Optional<CollectionNamespace>, Optional<IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>>, Optional<bool>, Optional<bool?>, Optional<IReadOnlyDictionary<string, object>>, Optional<IMongoClient>, Optional<IReadOnlyDictionary<string, BsonDocument>>, Optional<IReadOnlyDictionary<string, SslSettings>>, Optional<IReadOnlyDictionary<string, BsonDocument>>)

Returns a new instance of the AutoEncryptionOptions class.