Class AutoEncryptionOptions
Auto encryption options.
public sealed 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)
Determines whether the specified object is equal to the current object.
- GetHashCode()
Serves as the default hash function.
- ToString()
Returns a string that represents the current object.
- 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.