Scroll to navigation

MONGOC_CLIENT_ENCRYPTION_T(3) libmongoc MONGOC_CLIENT_ENCRYPTION_T(3)

NAME

mongoc_client_encryption_t - 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

  • mongoc_client_enable_auto_encryption()
  • mongoc_client_pool_enable_auto_encryption()
  • The guide for Using Client-Side Field Level Encryption for libmongoc
  • The MongoDB Manual for Client-Side Field Level Encryption

AUTHOR

MongoDB, Inc

COPYRIGHT

2017-present, MongoDB, Inc

June 4, 2021 1.17.6