@@ -54,8 +54,8 @@ public class AutoEncryptionOptions
54
54
/// <param name="keyVaultClient">The keyVault client.</param>
55
55
/// <param name="schemaMap">The schema map.</param>
56
56
/// <param name="tlsOptions">The tls options.</param>
57
- /// <param name="encryptedFieldsMap">The encryptedFields map.</param>
58
- /// <param name="bypassQueryAnalysis">The bypass query analysis flag.</param>
57
+ /// <param name="encryptedFieldsMap">[Beta] The encryptedFields map.</param>
58
+ /// <param name="bypassQueryAnalysis">[Beta] The bypass query analysis flag.</param>
59
59
public AutoEncryptionOptions (
60
60
CollectionNamespace keyVaultNamespace ,
61
61
IReadOnlyDictionary < string , IReadOnlyDictionary < string , object > > kmsProviders ,
@@ -93,12 +93,12 @@ public AutoEncryptionOptions(
93
93
public bool BypassAutoEncryption => _bypassAutoEncryption ;
94
94
95
95
/// <summary>
96
- /// Gets a value indicating whether to bypass query analysis.
96
+ /// [Beta] Gets a value indicating whether to bypass query analysis.
97
97
/// </summary>
98
98
public bool ? BypassQueryAnalysis => _bypassQueryAnalysis ;
99
99
100
100
/// <summary>
101
- /// Gets the encrypted fields map.
101
+ /// [Beta] Gets the encrypted fields map.
102
102
/// Supplying an encryptedFieldsMap provides more security than relying on an encryptedFields obtained from the server. It protects against a malicious server advertising a false encryptedFields.
103
103
/// </summary>
104
104
public IReadOnlyDictionary < string , BsonDocument > EncryptedFieldsMap => _encryptedFieldsMap ;
@@ -109,6 +109,10 @@ public AutoEncryptionOptions(
109
109
/// <value>
110
110
/// The extra options.
111
111
/// </value>
112
+ /// <remarks>
113
+ /// All MongoClient objects in the same process should use the same setting for extraOptions.cryptSharedLibPath,
114
+ /// as it is an error to load more that one crypt_shared dynamic library simultaneously in a single operating system process.
115
+ /// </remarks>
112
116
public IReadOnlyDictionary < string , object > ExtraOptions => _extraOptions ;
113
117
114
118
/// <summary>
@@ -157,12 +161,12 @@ public AutoEncryptionOptions(
157
161
/// <param name="keyVaultNamespace">The keyVault namespace.</param>
158
162
/// <param name="kmsProviders">The kms providers.</param>
159
163
/// <param name="bypassAutoEncryption">The bypass auto encryption flag.</param>
160
- /// <param name="bypassQueryAnalysis">The bypass query analysis flag.</param>
164
+ /// <param name="bypassQueryAnalysis">[Beta] The bypass query analysis flag.</param>
161
165
/// <param name="extraOptions">The extra options.</param>
162
166
/// <param name="keyVaultClient">The keyVault client.</param>
163
167
/// <param name="schemaMap">The schema map.</param>
164
168
/// <param name="tlsOptions">The tls options.</param>
165
- /// <param name="encryptedFieldsMap">The encryptedFields map.</param>
169
+ /// <param name="encryptedFieldsMap">[Beta] The encryptedFields map.</param>
166
170
/// <returns>A new instance of <see cref="AutoEncryptionOptions"/>.</returns>
167
171
public AutoEncryptionOptions With (
168
172
Optional < CollectionNamespace > keyVaultNamespace = default ,
0 commit comments