EncryptOptions Constructor (EncryptionAlgorithm, OptionalString, OptionalNullableGuid) |
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
)
Public Sub New (
algorithm As EncryptionAlgorithm,
Optional alternateKeyName As Optional(Of String) = Nothing,
Optional keyId As Optional(Of Nullable(Of Guid)) = Nothing
)
new :
algorithm : EncryptionAlgorithm *
?alternateKeyName : Optional<string> *
?keyId : Optional<Nullable<Guid>>
(* Defaults:
let _alternateKeyName = defaultArg alternateKeyName null
let _keyId = defaultArg keyId null
*)
-> 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