mongoc_client_encryption_encrypt_text_opts_new()

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().