Class CryptClientSettings
- Namespace
- MongoDB.Driver.Core.Configuration
- Assembly
- MongoDB.Driver.Core.dll
Represents settings for a crypt client.
public sealed class CryptClientSettings
- Inheritance
-
CryptClientSettings
- Inherited Members
Constructors
CryptClientSettings(bool?, string, string, IReadOnlyDictionary<string, BsonDocument>, bool?, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>, IReadOnlyDictionary<string, BsonDocument>)
Initializes a new instance of the CryptClientSettings class.
public CryptClientSettings(bool? bypassQueryAnalysis, string cryptSharedLibPath, string cryptSharedLibSearchPath, IReadOnlyDictionary<string, BsonDocument> encryptedFieldsMap, bool? isCryptSharedLibRequired, IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> kmsProviders, IReadOnlyDictionary<string, BsonDocument> schemaMap)
Parameters
bypassQueryAnalysis
bool?The bypass query analysis.
cryptSharedLibPath
stringThe crypt shared library library path.
cryptSharedLibSearchPath
stringThe crypt shared library search path.
encryptedFieldsMap
IReadOnlyDictionary<string, BsonDocument>The encrypted fields map.
isCryptSharedLibRequired
bool?Value indicating whether crypt shared library is required.
kmsProviders
IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>>The KMS providers.
schemaMap
IReadOnlyDictionary<string, BsonDocument>The schema map.
Properties
BypassQueryAnalysis
Gets a value indicating whether query analysis should be bypassed.
public bool? BypassQueryAnalysis { get; }
Property Value
- bool?
CryptSharedLibPath
Gets the crypt shared library path.
public string CryptSharedLibPath { get; }
Property Value
CryptSharedLibSearchPath
Gets the crypt shared library search path.
public string CryptSharedLibSearchPath { get; }
Property Value
EncryptedFieldsMap
Gets the encrypted fields map.
public IReadOnlyDictionary<string, BsonDocument> EncryptedFieldsMap { get; }
Property Value
IsCryptSharedLibRequired
Gets a value indicating whether crypt shared library is required.
public bool? IsCryptSharedLibRequired { get; }
Property Value
- bool?
KmsProviders
Gets the KMS providers.
public IReadOnlyDictionary<string, IReadOnlyDictionary<string, object>> KmsProviders { get; }
Property Value
SchemaMap
Gets the schema map.
public IReadOnlyDictionary<string, BsonDocument> SchemaMap { get; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
obj
object
Returns
GetHashCode()
public override int GetHashCode()