EncryptOptions Constructor (EncryptionAlgorithm, OptionalString, OptionalNullableGuid) |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public EncryptOptions(
EncryptionAlgorithm algorithm,
Optional<string> alternateKeyName = default,
Optional<Guid?> keyId = default
)
Public Sub New (
algorithm As EncryptionAlgorithm,
Optional alternateKeyName As Optional(Of String) = Nothing,
Optional keyId As Optional(Of Guid?) = Nothing
)
new :
algorithm : EncryptionAlgorithm *
?alternateKeyName : Optional<string> *
?keyId : Optional<Nullable<Guid>>
(* Defaults:
let _alternateKeyName = defaultArg alternateKeyName new Optional<string>()
let _keyId = defaultArg keyId new Optional<Nullable<Guid>>()
*)
-> EncryptOptions
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