mongoc_client_encryption_t¶
Synopsis¶
typedef struct _mongoc_client_encryption_t mongoc_client_encryption_t;
mongoc_client_encryption_t
provides utility functions for Client-Side Field Level Encryption. See the guide for Using Client-Side Field Level 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¶
The guide for Using Client-Side Field Level Encryption for libmongoc
The MongoDB Manual for Client-Side Field Level Encryption