Scroll to navigation

MONGOC_AUTO_ENCRYPTION_OPTS_SET_BYPASS_AUTO_ENCRYPTION(3) libmongoc MONGOC_AUTO_ENCRYPTION_OPTS_SET_BYPASS_AUTO_ENCRYPTION(3)

SYNOPSIS

void
mongoc_auto_encryption_opts_set_bypass_auto_encryption (

mongoc_auto_encryption_opts_t *opts, bool bypass_auto_encryption);


PARAMETERS

  • opts: The mongoc_auto_encryption_opts_t <>
  • bypass_auto_encryption: A boolean. If true, a mongoc_client_t <> configured with mongoc_client_enable_auto_encryption() <> will only perform automatic decryption (not encryption).

See also:

mongoc_client_enable_auto_encryption() <>

In-Use Encryption <https://www.mongodb.com/docs/languages/c/c-driver/current/libmongoc/guides/in-use-encryption/>



Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

November 26, 2025 2.2.0