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.21.0+5a9c3311e158910b88195f290e6d4b1b2715d2b2
Syntax
public DataKeyOptions(
	Optional<IReadOnlyList<string>> alternateKeyNames = null,
	Optional<BsonDocument> masterKey = null,
	Optional<BsonBinaryData> keyMaterial = null
)

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