Click or drag to resize

DataKeyOptions Constructor

Initializes a new instance of the DataKeyOptions class.

Namespace:  MongoDB.Driver.Encryption
Assembly:  MongoDB.Driver (in MongoDB.Driver.dll) Version: 2.11.0+cb27a82ea70620ad1acad8058809be8302ae4f2a
Syntax
public DataKeyOptions(
	Optional<IReadOnlyList<string>> alternateKeyNames = null,
	Optional<BsonDocument> masterKey = null
)

Parameters

alternateKeyNames (Optional)
Type: MongoDB.DriverOptionalIReadOnlyListString
The alternate key names.
masterKey (Optional)
Type: MongoDB.DriverOptionalBsonDocument
The master key.
See Also