Click or drag to resize

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

Initializes a new instance of the EncryptOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax
public EncryptOptions(
	string algorithm,
	Optional<string> alternateKeyName = default,
	Optional<Guid?> keyId = default
)

Parameters

algorithm
Type: System.String
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.
See Also