typedef struct _mongoc_client_encryption_t mongoc_client_encryption_t;
Contents
Copyright
2009-present, MongoDB, Inc.
1.30.4 Jun 08, 2025 MONGOC_CLIENT_ENCRYPTION_T(3)
Lifecycle
The key vault client, configured via mongoc_client_encryption_opts_set_keyvault_client(), must outlive
the mongoc_client_encryption_t.
SEEALSO:mongoc_client_enable_auto_encryption()mongoc_client_pool_enable_auto_encryption()In-UseEncryption for libmongoc
The MongoDB Manual for Client-SideFieldLevelEncryption
The MongoDB Manual for QueryableEncryptionSynopsis
typedef struct _mongoc_client_encryption_t mongoc_client_encryption_t;
mongoc_client_encryption_t provides utility functions for In-UseEncryption.
Thread Safety
mongoc_client_encryption_t is NOT thread-safe and should only be used in the same thread as the
mongoc_client_t that is configured via mongoc_client_encryption_opts_set_keyvault_client().
