// constructors /// <summary> /// [Beta] Initializes a new instance of the <see cref="ClientEncryption"/> class. /// </summary> /// <param name="clientEncryptionOptions">The client encryption options.</param> public ClientEncryption(ClientEncryptionOptions clientEncryptionOptions) { _cryptClient = CryptClientCreator.CreateCryptClient( kmsProviders: clientEncryptionOptions.KmsProviders, schemaMap: null); _libMongoCryptController = new ExplicitEncryptionLibMongoCryptController( _cryptClient, clientEncryptionOptions); }