Click or drag to resize

EncryptOptions Constructor (EncryptionAlgorithm, Optional<String>, Optional<Nullable<Guid>>, Optional<Nullable<Int64>>, Optional<String>)

Initializes a new instance of the EncryptOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.18.0+554c799eb1ec8dd732f16c739387f6664df1ba7a
Syntax
public EncryptOptions(
	EncryptionAlgorithm algorithm,
	Optional<string> alternateKeyName = default,
	Optional<Guid?> keyId = default,
	Optional<long?> contentionFactor = default,
	Optional<string> queryType = default
)

Parameters

algorithm
Type: MongoDB.Driver.Encryption.EncryptionAlgorithm
The encryption algorithm.
alternateKeyName (Optional)
Type: MongoDB.Driver.Optional<String>
The alternate key name.
keyId (Optional)
Type: MongoDB.Driver.Optional<Nullable<Guid>>
The key Id.
contentionFactor (Optional)
Type: MongoDB.Driver.Optional<Nullable<Int64>>
[Beta] The contention factor.
queryType (Optional)
Type: MongoDB.Driver.Optional<String>
[Beta] The query type.
See Also