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
alternateKeyNamesOptional<IReadOnlyList<string>>The alternate key names.
masterKeyOptional<BsonDocument>The master key.
keyMaterialOptional<BsonBinaryData>The key material.