Scroll to navigation

MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_TEXT_OPTS(3) libmongoc MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_TEXT_OPTS(3)

SYNOPSIS

void
mongoc_client_encryption_encrypt_opts_set_text_opts(

mongoc_client_encryption_encrypt_opts_t *opts,
const mongoc_client_encryption_encrypt_text_opts_t *text_opts);


Added in version 2.2.0.

Sets the text search encryption options for explicit encryption.

The "TextPreview" algorithm is in preview and should be used for experimental workloads only. These features are unstable and their security is not guaranteed until released as Generally Available (GA). The GA version of these features may not be backwards compatible with the preview version.

PARAMETERS

  • opts: A mongoc_client_encryption_encrypt_opts_t <>.
  • text_opts: A mongoc_client_encryption_encrypt_text_opts_t <> specifying text search options.

See also:

mongoc_client_encryption_encrypt_text_opts_t <>
mongoc_client_encryption_encrypt_text_opts_new() <>
mongoc_client_encryption_encrypt_text_opts_set_prefix() <>
mongoc_client_encryption_encrypt_text_opts_set_suffix() <>
mongoc_client_encryption_encrypt_text_opts_set_substring() <>



Author

MongoDB, Inc

Copyright

2009-present, MongoDB, Inc.

December 11, 2025 2.2.1