Click or drag to resize

ClientEncryptionOptions Constructor

Initializes a new instance of the ClientEncryptionOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public ClientEncryptionOptions(
	IMongoClient keyVaultClient,
	CollectionNamespace keyVaultNamespace,
	IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
	Optional<IReadOnlyDictionary<string, SslSettings>> tlsOptions = null
)

Parameters

keyVaultClient
Type: MongoDB.DriverIMongoClient
The key vault client.
keyVaultNamespace
Type: MongoDB.DriverCollectionNamespace
The key vault namespace.
kmsProviders
Type: System.Collections.GenericIReadOnlyDictionaryString, IReadOnlyDictionaryString, Object
The KMS providers.
tlsOptions (Optional)
Type: MongoDB.DriverOptionalIReadOnlyDictionaryString, SslSettings
The tls options.
See Also