DataKeyOptions Constructor |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntax public DataKeyOptions(
Optional<IReadOnlyList<string>> alternateKeyNames = null,
Optional<BsonDocument> masterKey = null
)
Public Sub New (
Optional alternateKeyNames As Optional(Of IReadOnlyList(Of String)) = Nothing,
Optional masterKey As Optional(Of BsonDocument) = Nothing
)
new :
?alternateKeyNames : Optional<IReadOnlyList<string>> *
?masterKey : Optional<BsonDocument>
(* Defaults:
let _alternateKeyNames = defaultArg alternateKeyNames null
let _masterKey = defaultArg masterKey null
*)
-> DataKeyOptions
Parameters
- alternateKeyNames (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyListString
The alternate key names. - masterKey (Optional)
- Type: MongoDB.DriverOptionalBsonDocument
The master key.
See Also