mongoc_auto_encryption_opts_new - Man Page

mongoc_auto_encryption_opts_new()

Synopsis

mongoc_auto_encryption_opts_t *
mongoc_auto_encryption_opts_new (void) BSON_GNUC_WARN_UNUSED_RESULT;

Create a new mongoc_auto_encryption_opts_t.

Caller must set the required options:

Caller may set optionally set the following:

This options struct is used to enable auto encryption with mongoc_client_enable_auto_encryption().

Returns

A new mongoc_auto_encryption_opts_t, which must be destroyed with mongoc_auto_encryption_opts_destroy().

SEE ALSO:

mongoc_auto_encryption_opts_destroy()
mongoc_client_enable_auto_encryption()
The guide for Using Client-Side Field Level Encryption

Author

MongoDB, Inc

Info

Sep 08, 2022 1.23.0 libmongoc