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.19.1+3a2a09dd959482f665ffbb5df2557ec541597af4
Syntax
public DataKeyOptions(
	Optional<IReadOnlyList<string>> alternateKeyNames = default,
	Optional<BsonDocument> masterKey = default,
	Optional<BsonBinaryData> keyMaterial = default
)

Parameters

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