Table of Contents

Namespace MongoDB.Driver.Encryption

The MongoDB.Driver.Encryption namespace contains all the basic types and classes related to client-side encryption.

Classes

KmsConnectionContext

Describes the KMS host that an IKmsConnector is being asked to connect to.

Interfaces

IAutoEncryptionLibMongoCryptController

Represents an AutoCryptClientController.

IAutoEncryptionProviderRegistry

AutoEncryption Provider Registry.

IKmsConnector

Opens the transport connection used to reach a KMS host. When supplied via ClientEncryptionOptions.SetKmsConnector or SetKmsConnector(IKmsConnector), the driver invokes this instead of opening a direct TCP connection to the KMS host, then wraps the returned stream in TLS using the KMS provider's configured TLS options. The primary use case is routing KMS traffic through an HTTP proxy via HTTPS CONNECT.

IKmsProvider

Represents KMS Provider.

IKmsProviderRegistry

Kms Provider Registry.