Constructor DataKeyOptions
- Namespace
- MongoDB.Driver.Encryption
- Assembly
- MongoDB.Driver.Encryption.dll
DataKeyOptions(Optional<IReadOnlyList<string>>, Optional<BsonDocument>, Optional<BsonBinaryData>)
Initializes a new instance of the DataKeyOptions class.
public DataKeyOptions(Optional<IReadOnlyList<string>> alternateKeyNames = default, Optional<BsonDocument> masterKey = default, Optional<BsonBinaryData> keyMaterial = default)
Parameters
alternateKeyNames
Optional<IReadOnlyList<string>>The alternate key names.
masterKey
Optional<BsonDocument>The master key.
keyMaterial
Optional<BsonBinaryData>The key material.