CryptClientCreatorCreateCryptClient Method |
Create a CryptClient instance.
Namespace:
MongoDB.Driver.Core.Clusters
Assembly:
MongoDB.Driver.Core (in MongoDB.Driver.Core.dll) Version: 2.13.1-v2-13-x1+a7f8afe27855f38f4f72157d11ba2ae73895502e
Syntaxpublic static CryptClient CreateCryptClient(
IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> kmsProviders,
IReadOnlyDictionary<string, BsonDocument> schemaMap
)
Public Shared Function CreateCryptClient (
kmsProviders As IReadOnlyDictionary(Of String, IReadOnlyDictionary(Of String, Object)),
schemaMap As IReadOnlyDictionary(Of String, BsonDocument)
) As CryptClient
static member CreateCryptClient :
kmsProviders : IReadOnlyDictionary<string, IReadOnlyDictionary<string, Object>> *
schemaMap : IReadOnlyDictionary<string, BsonDocument> -> CryptClient
Parameters
- kmsProviders
- Type: System.Collections.GenericIReadOnlyDictionaryString, IReadOnlyDictionaryString, Object
The kms providers. - schemaMap
- Type: System.Collections.GenericIReadOnlyDictionaryString, BsonDocument
The schema map.
Return Value
Type:
CryptClientThe CryptClient instance.
See Also