Table of Contents

Class EncryptOptions

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.Encryption.dll

Encryption options for explicit encryption.

public class EncryptOptions
Inheritance
EncryptOptions
Inherited Members

Constructors

EncryptOptions(EncryptionAlgorithm, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>, Optional<RangeOptions>)

Initializes a new instance of the EncryptOptions class.

EncryptOptions(string, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>, Optional<RangeOptions>)

Initializes a new instance of the EncryptOptions class.

Properties

Algorithm

Gets the algorithm.

AlternateKeyName

Gets the alternate key name.

ContentionFactor

Gets the contention factor.

KeyId

Gets the key identifier.

QueryType

Gets the query type.

RangeOptions

Gets the range options.

Methods

With(Optional<string>, Optional<string>, Optional<Guid?>, Optional<long?>, Optional<string>, Optional<RangeOptions>)

Returns a new EncryptOptions instance with some settings changed.