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
algorithmstringThe encryption algorithm.
alternateKeyNameOptional<string>The alternate key name.
keyIdOptional<Guid?>The key Id.
contentionFactorOptional<long?>The contention factor.
queryTypeOptional<string>The query type.
rangeOptionsOptional<RangeOptions>The range options.
EncryptOptions(string, TextOptions, Optional<string>, Optional<long?>, Optional<Guid?>, Optional<string>)
Initializes a new instance of the EncryptOptions class.
public EncryptOptions(string algorithm, TextOptions textOptions, Optional<string> alternateKeyName = default, Optional<long?> contentionFactor = default, Optional<Guid?> keyId = default, Optional<string> queryType = default)
Parameters
algorithmstringThe encryption algorithm.
textOptionsTextOptionsThe text options.
alternateKeyNameOptional<string>The alternate key name.
contentionFactorOptional<long?>The contention factor.
keyIdOptional<Guid?>The key Id.
queryTypeOptional<string>The query type.
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
algorithmEncryptionAlgorithmThe encryption algorithm.
alternateKeyNameOptional<string>The alternate key name.
keyIdOptional<Guid?>The key Id.
contentionFactorOptional<long?>The contention factor.
queryTypeOptional<string>The query type.
rangeOptionsOptional<RangeOptions>The range options.
EncryptOptions(EncryptionAlgorithm, TextOptions, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>)
Initializes a new instance of the EncryptOptions class.
public EncryptOptions(EncryptionAlgorithm algorithm, TextOptions textOptions, Optional<string> alternateKeyName = default, Optional<Guid?> keyId = default, Optional<long?> contentionFactor = default, Optional<string> queryType = default)
Parameters
algorithmEncryptionAlgorithmThe encryption algorithm.
textOptionsTextOptionsThe text options.
alternateKeyNameOptional<string>The alternate key name.
keyIdOptional<Guid?>The key Id.
contentionFactorOptional<long?>The contention factor.
queryTypeOptional<string>The query type.