Provided by: libmongoc-doc_2.2.1-1_all 

SYNOPSIS
mongoc_client_encryption_encrypt_text_opts_t *
mongoc_client_encryption_encrypt_text_opts_new(void);
Added in version 2.2.0.
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.
RETURNS
A new mongoc_client_encryption_encrypt_text_opts_t <> that must be freed with
mongoc_client_encryption_encrypt_text_opts_destroy() <>.
See also:
mongoc_client_encryption_encrypt_text_opts_destroy() <>
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.
2.2.1 Dec 11, 2025 MONGOC_CLIENT_ENCRYPTION_ENCRYPT_TEXT_OPTS_NEW(3)