mongoc_client_encryption_new - Man Page

Synopsis

mongoc_client_encryption_t *
mongoc_client_encryption_new (mongoc_client_encryption_opts_t *opts,
                              bson_error_t *error);

Create a new mongoc_client_encryption_t <>​.

Parameters

Returns

A new mongoc_client_encryption_t <> that must be freed with mongoc_client_encryption_destroy() <> if successful. Returns NULL and sets error otherwise.

See also:

mongoc_client_encryption_t <>
mongoc_client_encryption_opts_t <>

Author

MongoDB, Inc

Info

Oct 09, 2026 2.5.6 libmongoc