Constructor EncryptOptions
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
EncryptOptions(string, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>, Optional<RangeOptions>)
Initializes a new instance of the EncryptOptions class.
public EncryptOptions(string algorithm, Optional<string> alternateKeyName = default, Optional<Guid?> keyId = default, Optional<long?> contentionFactor = default, Optional<string> queryType = default, Optional<RangeOptions> rangeOptions = default)
Parameters
algorithm
stringThe encryption algorithm.
alternateKeyName
Optional<string>The alternate key name.
keyId
Optional<Guid?>The key Id.
contentionFactor
Optional<long?>The contention factor.
queryType
Optional<string>The query type.
rangeOptions
Optional<RangeOptions>The range options.
EncryptOptions(EncryptionAlgorithm, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>, Optional<RangeOptions>)
Initializes a new instance of the EncryptOptions class.
public EncryptOptions(EncryptionAlgorithm algorithm, Optional<string> alternateKeyName = default, Optional<Guid?> keyId = default, Optional<long?> contentionFactor = default, Optional<string> queryType = default, Optional<RangeOptions> rangeOptions = default)
Parameters
algorithm
EncryptionAlgorithmThe encryption algorithm.
alternateKeyName
Optional<string>The alternate key name.
keyId
Optional<Guid?>The key Id.
contentionFactor
Optional<long?>The contention factor.
queryType
Optional<string>The query type.
rangeOptions
Optional<RangeOptions>The range options.