mongoc_auto_encryption_opts_new - Man Page

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()
In-Use Encryption

Author

MongoDB, Inc

Info

Apr 03, 2024 1.26.2 libmongoc