Table of Contents

Class DataKeyOptions

Namespace
MongoDB.Driver.Encryption
Assembly
MongoDB.Driver.Encryption.dll

Options for creating a data key.

public class DataKeyOptions
Inheritance
DataKeyOptions
Inherited Members

Constructors

DataKeyOptions(Optional<IReadOnlyList<string>>, Optional<BsonDocument>, Optional<BsonBinaryData>)

Initializes a new instance of the DataKeyOptions class.

Properties

AlternateKeyNames

Gets the alternate key names.

KeyMaterial

Gets the key material.

MasterKey

Gets the master key.

Methods

With(Optional<IReadOnlyList<string>>, Optional<BsonDocument>, Optional<BsonBinaryData>)

Returns a new DataKeyOptions instance with some settings changed.