Click or drag to resize

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

Initializes a new instance of the EncryptOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public EncryptOptions(
	EncryptionAlgorithm algorithm,
	Optional<string> alternateKeyName = null,
	Optional<Nullable<Guid>> keyId = null,
	Optional<Nullable<long>> contentionFactor = null,
	Optional<string> queryType = null,
	Optional<RangeOptions> rangeOptions = null
)

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>>
The contention factor.
queryType (Optional)
Type: MongoDB.Driver.Optional<String>
The query type.
rangeOptions (Optional)
Type: MongoDB.Driver.Optional<RangeOptions>
The range options.
See Also