Click or drag to resize

EncryptOptions Constructor (EncryptionAlgorithm, OptionalString, OptionalNullableGuid)

Initializes a new instance of the EncryptOptions class.

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

Parameters

algorithm
Type: MongoDB.Driver.EncryptionEncryptionAlgorithm
The encryption algorithm.
alternateKeyName (Optional)
Type: MongoDB.DriverOptionalString
The alternate key name.
keyId (Optional)
Type: MongoDB.DriverOptionalNullableGuid
The key Id.
See Also