DataKeyOptions Constructor |
Namespace:
MongoDB.Driver.Encryption
Assembly:
MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.14.0+2b37a1fe1cbdbe1a020b52b77f1197b6d77575e7
Syntax public DataKeyOptions(
Optional<IReadOnlyList<string>> alternateKeyNames = default,
Optional<BsonDocument> masterKey = default
)
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 new Optional<IReadOnlyList<string>>()
let _masterKey = defaultArg masterKey new Optional<BsonDocument>()
*)
-> DataKeyOptions
Parameters
- alternateKeyNames (Optional)
- Type: MongoDB.DriverOptionalIReadOnlyListString
The alternate key names. - masterKey (Optional)
- Type: MongoDB.DriverOptionalBsonDocument
The master key.
See Also