Skip to content

Commit efcbc44

Browse files
authored
CSHARP-5313: rename libmongocrypt project (#1483)
1 parent 033aa5d commit efcbc44

File tree

105 files changed

+82
-125
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

105 files changed

+82
-125
lines changed

CSharpDriver.sln

+2-2
Original file line numberDiff line numberDiff line change
@@ -54,9 +54,9 @@ Project("{2150E333-8FDC-42A3-9474-1A3956D46DE8}") = "FaasTests", "FaasTests", "{
5454
EndProject
5555
Project("{9A19103F-16F7-4668-BE54-9A1E7A4F7556}") = "MongoDB.Driver.LambdaTest", "tests\FaasTests\LambdaTests\MongoDB.Driver.LambdaTest\MongoDB.Driver.LambdaTest.csproj", "{33B11279-DA4A-46EA-99BF-9DEDCAC50D95}"
5656
EndProject
57-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.Libmongocrypt", "src\MongoDB.Libmongocrypt\MongoDB.Libmongocrypt.csproj", "{642518BC-D28A-4ABC-851C-BC18CC34EEDA}"
57+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.Driver.Encryption", "src\MongoDB.Driver.Encryption\MongoDB.Driver.Encryption.csproj", "{642518BC-D28A-4ABC-851C-BC18CC34EEDA}"
5858
EndProject
59-
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.Libmongocrypt.Tests", "tests\MongoDB.Libmongocrypt.Tests\MongoDB.Libmongocrypt.Tests.csproj", "{AB4AD0CB-756C-444F-9F37-26DA35148934}"
59+
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.Driver.Encryption.Tests", "tests\MongoDB.Driver.Encryption.Tests\MongoDB.Driver.Encryption.Tests.csproj", "{AB4AD0CB-756C-444F-9F37-26DA35148934}"
6060
EndProject
6161
Project("{FAE04EC0-301F-11D3-BF4B-00C04F79EFBC}") = "MongoDB.Driver.Authentication.AWS", "src\MongoDB.Driver.Authentication.AWS\MongoDB.Driver.Authentication.AWS.csproj", "{A0CAC199-457E-4862-AF9E-971C7A77CBF9}"
6262
EndProject

benchmarks/MongoDB.Driver.Benchmarks/LibmongocryptBindingBenchmark.cs

-1
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@
2222
using MongoDB.Driver;
2323
using MongoDB.Driver.Encryption;
2424
using MongoDB.Driver.TestHelpers;
25-
using MongoDB.Libmongocrypt;
2625

2726
namespace MongoDB.Benchmarks
2827
{

benchmarks/MongoDB.Driver.Benchmarks/MongoDB.Driver.Benchmarks.csproj

+1-1
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@
3131

3232
<ItemGroup>
3333
<ProjectReference Include="..\..\src\MongoDB.Driver\MongoDB.Driver.csproj" />
34-
<ProjectReference Include="..\..\src\MongoDB.Libmongocrypt\MongoDB.Libmongocrypt.csproj" />
34+
<ProjectReference Include="..\..\src\MongoDB.Driver.Encryption\MongoDB.Driver.Encryption.csproj" />
3535
<ProjectReference Include="..\..\tests\MongoDB.Driver.TestHelpers\MongoDB.Driver.TestHelpers.csproj" />
3636
</ItemGroup>
3737
</Project>

build.cake

+2-2
Original file line numberDiff line numberDiff line change
@@ -285,7 +285,7 @@ Task("PackageNugetPackages")
285285
{
286286
"MongoDB.Bson",
287287
"MongoDB.Driver",
288-
"MongoDB.Libmongocrypt"
288+
"MongoDB.Driver.Encryption"
289289
};
290290

291291
foreach (var project in projects)
@@ -365,7 +365,7 @@ Task("SmokeTests")
365365

366366
DotNetTool(
367367
testProject.FullPath,
368-
"add package MongoDB.Libmongocrypt",
368+
"add package MongoDB.Driver.Encryption",
369369
$"--no-restore --version [{buildConfig.PackageVersion}]",
370370
toolSettings);
371371

evergreen/evergreen.yml

+6-6
Original file line numberDiff line numberDiff line change
@@ -944,8 +944,8 @@ functions:
944944
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.${PACKAGE_VERSION}.snupkg"
945945
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.Authentication.AWS.${PACKAGE_VERSION}.nupkg"
946946
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.Authentication.AWS.${PACKAGE_VERSION}.snupkg"
947-
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Libmongocrypt.${PACKAGE_VERSION}.nupkg"
948-
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Libmongocrypt.${PACKAGE_VERSION}.snupkg"
947+
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.Encryption.${PACKAGE_VERSION}.nupkg"
948+
- "mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.Encryption.${PACKAGE_VERSION}.snupkg"
949949

950950
cleanup:
951951
- command: shell.exec
@@ -1111,15 +1111,15 @@ functions:
11111111
params:
11121112
aws_key: ${aws_key}
11131113
aws_secret: ${aws_secret}
1114-
local_file: mongo-csharp-driver/artifacts/nuget/MongoDB.Libmongocrypt.${PACKAGE_VERSION}.nupkg
1115-
remote_file: ${UPLOAD_BUCKET}/${revision}/MongoDB.Libmongocrypt.${PACKAGE_VERSION}.nupkg
1114+
local_file: mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.Encryption.${PACKAGE_VERSION}.nupkg
1115+
remote_file: ${UPLOAD_BUCKET}/${revision}/MongoDB.Driver.Encryption.${PACKAGE_VERSION}.nupkg
11161116
bucket: mciuploads
11171117
- command: s3.get
11181118
params:
11191119
aws_key: ${aws_key}
11201120
aws_secret: ${aws_secret}
1121-
local_file: mongo-csharp-driver/artifacts/nuget/MongoDB.Libmongocrypt.${PACKAGE_VERSION}.snupkg
1122-
remote_file: ${UPLOAD_BUCKET}/${revision}/MongoDB.Libmongocrypt.${PACKAGE_VERSION}.snupkg
1121+
local_file: mongo-csharp-driver/artifacts/nuget/MongoDB.Driver.Encryption.${PACKAGE_VERSION}.snupkg
1122+
remote_file: ${UPLOAD_BUCKET}/${revision}/MongoDB.Driver.Encryption.${PACKAGE_VERSION}.snupkg
11231123
bucket: mciuploads
11241124

11251125
build-apidocs:

evergreen/export-libmongocrypt-path.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@ set -o errexit # Exit the script with error if any of the commands fail
55
# Environment variables used as input:
66
# OS The current operating system
77

8-
LIBMONGOCRYPT_DIR="$(pwd)/src/MongoDB.Libmongocrypt"
8+
LIBMONGOCRYPT_DIR="$(pwd)/src/MongoDB.Driver.Encryption"
99

1010
# export the LIBMONGOCRYPT_PATH variable based on OS
1111
if [[ "$OS" =~ Ubuntu|ubuntu ]]; then

evergreen/push-packages.sh

+1-1
Original file line numberDiff line numberDiff line change
@@ -55,7 +55,7 @@ if [ "$PACKAGES_SOURCE" = "https://api.nuget.org/v3/index.json" ] && [[ ! "$PACK
5555
exit 1
5656
fi
5757

58-
PACKAGES=("MongoDB.Bson" "MongoDB.Driver" "MongoDB.Driver.Authentication.AWS" "MongoDB.Libmongocrypt")
58+
PACKAGES=("MongoDB.Bson" "MongoDB.Driver" "MongoDB.Driver.Authentication.AWS" "MongoDB.Driver.Encryption")
5959

6060
for package in ${PACKAGES[*]}; do
6161
dotnet nuget verify ./artifacts/nuget/"$package"."$PACKAGE_VERSION".nupkg --certificate-fingerprint "$NUGET_SIGN_CERTIFICATE_FINGERPRINT"
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
using System.Runtime.CompilerServices;
22

3-
[assembly: InternalsVisibleTo("MongoDB.Libmongocrypt.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010035287f0d3883c0a075c88e0cda3ce93b621003ecbd5e920d4a8c7238564f4d2f4f68116aca28c9b21341dc3a877679c14556192b2b2f5fe2c11d624e0894d308ff7b94bf6fd72aef1b41017ffe2572e99019d1c61963e68cd0ed67734a42cb333b808e3867cbe631937214e32e409fb1fa62fdb69d494c2530e64a40e417d6ee")]
3+
[assembly: InternalsVisibleTo("MongoDB.Driver.Encryption.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010035287f0d3883c0a075c88e0cda3ce93b621003ecbd5e920d4a8c7238564f4d2f4f68116aca28c9b21341dc3a877679c14556192b2b2f5fe2c11d624e0894d308ff7b94bf6fd72aef1b41017ffe2572e99019d1c61963e68cd0ed67734a42cb333b808e3867cbe631937214e32e409fb1fa62fdb69d494c2530e64a40e417d6ee")]
44
[assembly: InternalsVisibleTo("MongoDB.Driver.Tests, PublicKey=002400000480000094000000060200000024000052534131000400000100010035287f0d3883c0a075c88e0cda3ce93b621003ecbd5e920d4a8c7238564f4d2f4f68116aca28c9b21341dc3a877679c14556192b2b2f5fe2c11d624e0894d308ff7b94bf6fd72aef1b41017ffe2572e99019d1c61963e68cd0ed67734a42cb333b808e3867cbe631937214e32e409fb1fa62fdb69d494c2530e64a40e417d6ee")]

src/MongoDB.Libmongocrypt/AutoEncryptionLibMongoController.cs src/MongoDB.Driver.Encryption/AutoEncryptionLibMongoController.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,11 +19,9 @@
1919
using System.Threading;
2020
using System.Threading.Tasks;
2121
using MongoDB.Bson;
22-
using MongoDB.Driver;
2322
using MongoDB.Driver.Core.Servers;
24-
using MongoDB.Driver.Encryption;
2523

26-
namespace MongoDB.Libmongocrypt
24+
namespace MongoDB.Driver.Encryption
2725
{
2826
internal sealed class AutoEncryptionLibMongoCryptController : LibMongoCryptControllerBase, IAutoEncryptionLibMongoCryptController
2927
{

src/MongoDB.Libmongocrypt/Binary.cs src/MongoDB.Driver.Encryption/Binary.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.IO;
1919
using System.Runtime.InteropServices;
2020

21-
namespace MongoDB.Libmongocrypt
21+
namespace MongoDB.Driver.Encryption
2222
{
2323
/// <summary>
2424
/// A pointer and length pair the contains raw bytes to pass or retrieve from libmongocrypt.

src/MongoDB.Libmongocrypt/BinarySafeHandle.cs src/MongoDB.Driver.Encryption/BinarySafeHandle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Runtime.ConstrainedExecution;
1919
using System.Runtime.InteropServices;
2020

21-
namespace MongoDB.Libmongocrypt
21+
namespace MongoDB.Driver.Encryption
2222
{
2323
/// <summary>
2424
/// SafeHandle to manage the lifetime of a mongocrypt_binary_t.

src/MongoDB.Libmongocrypt/CheckableSafeHandle.cs src/MongoDB.Driver.Encryption/CheckableSafeHandle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@
1818
using System.Runtime.ConstrainedExecution;
1919
using System.Runtime.InteropServices;
2020

21-
namespace MongoDB.Libmongocrypt
21+
namespace MongoDB.Driver.Encryption
2222
{
2323
/// <summary>
2424
/// SafeHandle to manage the lifetime of a mongocrypt_ctx_t.

src/MongoDB.Libmongocrypt/CipherCallbacks.cs src/MongoDB.Driver.Encryption/CipherCallbacks.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Security.Cryptography;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
internal enum CryptMode
2323
{

src/MongoDB.Libmongocrypt/ClientEncryption.cs src/MongoDB.Driver.Encryption/ClientEncryption.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -19,12 +19,10 @@
1919
using System.Threading;
2020
using System.Threading.Tasks;
2121
using MongoDB.Bson;
22-
using MongoDB.Driver;
2322
using MongoDB.Driver.Core.Configuration;
2423
using MongoDB.Driver.Core.Misc;
25-
using MongoDB.Driver.Encryption;
2624

27-
namespace MongoDB.Libmongocrypt
25+
namespace MongoDB.Driver.Encryption
2826
{
2927
/// <summary>
3028
/// Explicit client encryption.

src/MongoDB.Libmongocrypt/ClientEncryptionOptions.cs src/MongoDB.Driver.Encryption/ClientEncryptionOptions.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,10 +15,9 @@
1515

1616
using System;
1717
using System.Collections.Generic;
18-
using MongoDB.Driver;
1918
using MongoDB.Driver.Core.Misc;
2019

21-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2221
{
2322
/// <summary>
2423
/// Client encryption options.

src/MongoDB.Libmongocrypt/ContextSafeHandle.cs src/MongoDB.Driver.Encryption/ContextSafeHandle.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
using System.Runtime.ConstrainedExecution;
1818

19-
namespace MongoDB.Libmongocrypt
19+
namespace MongoDB.Driver.Encryption
2020
{
2121
/// <summary>
2222
/// SafeHandle to manage the lifetime of a mongocrypt_ctx_t.

src/MongoDB.Libmongocrypt/CreateEncryptedCollectionResult.cs src/MongoDB.Driver.Encryption/CreateEncryptedCollectionResult.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -15,7 +15,7 @@
1515

1616
using MongoDB.Bson;
1717

18-
namespace MongoDB.Libmongocrypt
18+
namespace MongoDB.Driver.Encryption
1919
{
2020
/// <summary>
2121
/// Represents the result of a create encrypted collection.

src/MongoDB.Libmongocrypt/CryptClient.cs src/MongoDB.Driver.Encryption/CryptClient.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Runtime.InteropServices;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
/// <summary>
2323
/// CryptClient represents a session with libmongocrypt.

src/MongoDB.Libmongocrypt/CryptClientFactory.cs src/MongoDB.Driver.Encryption/CryptClientFactory.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -21,7 +21,7 @@
2121
using MongoDB.Bson.IO;
2222
using MongoDB.Driver.Core.Configuration;
2323

24-
namespace MongoDB.Libmongocrypt
24+
namespace MongoDB.Driver.Encryption
2525
{
2626
/// <summary>
2727
/// A factory for CryptClients.

src/MongoDB.Libmongocrypt/CryptContext.cs src/MongoDB.Driver.Encryption/CryptContext.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Collections.Generic;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
/// <summary>
2323
/// A encryption or decryption session. It may not be reused.

src/MongoDB.Libmongocrypt/CryptException.cs src/MongoDB.Driver.Encryption/CryptException.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
using System;
1818

19-
namespace MongoDB.Libmongocrypt
19+
namespace MongoDB.Driver.Encryption
2020
{
2121
/// <summary>
2222
/// An exception from libmongocrypt.

src/MongoDB.Libmongocrypt/CryptOptions.cs src/MongoDB.Driver.Encryption/CryptOptions.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -19,7 +19,7 @@
1919
using System.Collections.ObjectModel;
2020
using System.Linq;
2121

22-
namespace MongoDB.Libmongocrypt
22+
namespace MongoDB.Driver.Encryption
2323
{
2424
/// <summary>
2525
/// Options to configure mongocrypt with.

src/MongoDB.Libmongocrypt/DataKeyOptions.cs src/MongoDB.Driver.Encryption/DataKeyOptions.cs

+1-2
Original file line numberDiff line numberDiff line change
@@ -15,9 +15,8 @@
1515

1616
using System.Collections.Generic;
1717
using MongoDB.Bson;
18-
using MongoDB.Driver;
1918

20-
namespace MongoDB.Libmongocrypt
19+
namespace MongoDB.Driver.Encryption
2120
{
2221
/// <summary>
2322
/// Options for creating a data key.

src/MongoDB.Libmongocrypt/EncryptOptions.cs src/MongoDB.Driver.Encryption/EncryptOptions.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -15,11 +15,9 @@
1515

1616
using System;
1717
using MongoDB.Bson;
18-
using MongoDB.Driver;
1918
using MongoDB.Driver.Core.Misc;
20-
using MongoDB.Driver.Encryption;
2119

22-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2321
{
2422
/// <summary>
2523
/// Range options.

src/MongoDB.Libmongocrypt/EncryptionAlgorithm.cs src/MongoDB.Driver.Encryption/EncryptionAlgorithm.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
* limitations under the License.
1414
*/
1515

16-
namespace MongoDB.Libmongocrypt
16+
namespace MongoDB.Driver.Encryption
1717
{
1818
/// <summary>
1919
/// Represents an encryption algorithm.

src/MongoDB.Libmongocrypt/ExplicitEncryptionLibMongoCryptController.cs src/MongoDB.Driver.Encryption/ExplicitEncryptionLibMongoCryptController.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -20,11 +20,9 @@
2020
using System.Threading.Tasks;
2121
using MongoDB.Bson;
2222
using MongoDB.Bson.Serialization;
23-
using MongoDB.Driver;
2423
using MongoDB.Driver.Core.Misc;
25-
using MongoDB.Driver.Encryption;
2624

27-
namespace MongoDB.Libmongocrypt
25+
namespace MongoDB.Driver.Encryption
2826
{
2927
internal sealed class ExplicitEncryptionLibMongoCryptController : LibMongoCryptControllerBase
3028
{

src/MongoDB.Libmongocrypt/ExtensionManagerExtensions.cs src/MongoDB.Driver.Encryption/ExtensionManagerExtensions.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,7 @@
1313
* limitations under the License.
1414
*/
1515

16-
using MongoDB.Driver;
17-
18-
namespace MongoDB.Libmongocrypt
16+
namespace MongoDB.Driver.Encryption
1917
{
2018
/// <summary>
2119
/// IExtensionManager extensions.

src/MongoDB.Libmongocrypt/HashCallback.cs src/MongoDB.Driver.Encryption/HashCallback.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Security.Cryptography;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
internal static class HashCallback
2323
{

src/MongoDB.Libmongocrypt/HmacShaCallbacks.cs src/MongoDB.Driver.Encryption/HmacShaCallbacks.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Security.Cryptography;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
internal static class HmacShaCallbacks
2323
{

src/MongoDB.Libmongocrypt/IStatus.cs src/MongoDB.Driver.Encryption/IStatus.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@
1414
* limitations under the License.
1515
*/
1616

17-
namespace MongoDB.Libmongocrypt
17+
namespace MongoDB.Driver.Encryption
1818
{
1919
/// <summary>
2020
/// Interface for checking the status of the various libmongocrypt options.

src/MongoDB.Libmongocrypt/KmsCredentials.cs src/MongoDB.Driver.Encryption/KmsCredentials.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -16,7 +16,7 @@
1616

1717
using System;
1818

19-
namespace MongoDB.Libmongocrypt
19+
namespace MongoDB.Driver.Encryption
2020
{
2121
/// <summary>
2222
/// KMS Credentials.

src/MongoDB.Libmongocrypt/KmsKeyId.cs src/MongoDB.Driver.Encryption/KmsKeyId.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Collections.Generic;
1818
using System.Linq;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
/// <summary>
2323
/// Represent a kms key.

src/MongoDB.Libmongocrypt/KmsRequest.cs src/MongoDB.Driver.Encryption/KmsRequest.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Runtime.InteropServices;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
/// <summary>
2323
/// Contains a KMS request to make to a remote server.

src/MongoDB.Libmongocrypt/KmsRequestCollection.cs src/MongoDB.Driver.Encryption/KmsRequestCollection.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System.Collections;
1818
using System.Collections.Generic;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
/// <summary>
2323
/// A collection of kms requests to make.

src/MongoDB.Libmongocrypt/LibMongoCryptControllerBase.cs src/MongoDB.Driver.Encryption/LibMongoCryptControllerBase.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -24,13 +24,11 @@
2424
using System.Threading.Tasks;
2525
using MongoDB.Bson;
2626
using MongoDB.Bson.IO;
27-
using MongoDB.Driver;
2827
using MongoDB.Driver.Core.Configuration;
2928
using MongoDB.Driver.Core.Connections;
3029
using MongoDB.Driver.Core.Misc;
31-
using MongoDB.Driver.Encryption;
3230

33-
namespace MongoDB.Libmongocrypt
31+
namespace MongoDB.Driver.Encryption
3432
{
3533
internal abstract class LibMongoCryptControllerBase
3634
{

src/MongoDB.Libmongocrypt/LibmongocryptExtensionsMethods.cs src/MongoDB.Driver.Encryption/LibmongocryptExtensionsMethods.cs

+1-3
Original file line numberDiff line numberDiff line change
@@ -16,11 +16,9 @@
1616
using System.Linq;
1717
using System.Security.Cryptography.X509Certificates;
1818
using MongoDB.Bson;
19-
using MongoDB.Driver;
2019
using MongoDB.Driver.Core.Configuration;
21-
using MongoDB.Driver.Encryption;
2220

23-
namespace MongoDB.Libmongocrypt
21+
namespace MongoDB.Driver.Encryption
2422
{
2523
internal static class LibmongocryptExtensionsMethods
2624
{

src/MongoDB.Libmongocrypt/Library.cs src/MongoDB.Driver.Encryption/Library.cs

+1-1
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@
1717
using System;
1818
using System.Runtime.InteropServices;
1919

20-
namespace MongoDB.Libmongocrypt
20+
namespace MongoDB.Driver.Encryption
2121
{
2222
/// <summary>
2323
/// The low-level interface to libmongocrypt.

0 commit comments

Comments
 (0)