Click or drag to resize

EncryptOptions Constructor (EncryptionAlgorithm, 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.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax
public EncryptOptions(
	EncryptionAlgorithm algorithm,
	Optional<string> alternateKeyName = null,
	Optional<Nullable<Guid>> keyId = null
)

Parameters

algorithm
Type: MongoDB.Driver.Encryption.EncryptionAlgorithm
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