mongoc_client_encryption_t(3)
| MONGOC_CLIENT_ENCRYPTION_T(3) | libmongoc | MONGOC_CLIENT_ENCRYPTION_T(3) |
SYNOPSIS
typedef struct _mongoc_client_encryption_t mongoc_client_encryption_t;
mongoc_client_encryption_t provides utility functions for In-Use Encryption <https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/guides/in-use-encryption/>.
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() <>.
LIFECYCLE
The key vault client, configured via mongoc_client_encryption_opts_set_keyvault_client() <>, must outlive the mongoc_client_encryption_t <>.
See also:
mongoc_client_enable_auto_encryption() <>
mongoc_client_pool_enable_auto_encryption() <>
In-Use Encryption <https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/guides/in-use-encryption/> for libmongoc
The MongoDB Manual for Client-Side Field Level Encryption <https://www.mongodb.com/docs/manual/core/security-client-side-encryption/>
The MongoDB Manual for Queryable Encryption <https://www.mongodb.com/docs/manual/core/queryable-encryption/>
Author
MongoDB, Inc
Copyright
2009-present, MongoDB, Inc.
| February 10, 2026 | 1.30.7 |
