Provided by: libmongoc-doc_1.16.1-1build2_all 

NAME
mongoc_client_encryption_encrypt_opts_set_algorithm -
mongoc_client_encryption_encrypt_opts_set_algorithm()
SYNOPSIS
void
mongoc_client_encryption_encrypt_opts_set_algorithm (
mongoc_client_encryption_encrypt_opts_t *opts, const char *algorithm);
#define MONGOC_AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
#define MONGOC_AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
Identifies the algorithm to use for encryption. Valid values of algorithm are:
• "AEAD_AES_256_CBC_HMAC_SHA_512-Random" for randomized encryption.
• "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic" for deterministic (queryable) encryption.
PARAMETERS
• opts: A mongoc_client_encryption_encrypt_opts_t
• algorithm: A char * identifying the algorithm.
AUTHOR
MongoDB, Inc
COPYRIGHT
2017-present, MongoDB, Inc
1.16.1 Mar 03, 202MONGOC_CLIENT_ENCRYPTI...RYPT_OPTS_SET_ALGORITHM(3)