MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_ALGORITHM(3) | libmongoc | MONGOC_CLIENT_ENCRYPTION_ENCRYPT_OPTS_SET_ALGORITHM(3) |
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" // (Experimental: See below) #define MONGOC_ENCRYPT_ALGORITHM_INDEXED "Indexed" // (Experimental: See below) #define MONGOC_ENCRYPT_ALGORITHM_UNINDEXED "Unindexed" // (Experimental: See below) #define MONGOC_ENCRYPT_ALGORITHM_RANGEPREVIEW "RangePreview"
Identifies the algorithm to use for encryption. Valid values of algorithm are:
"AEAD_AES_256_CBC_HMAC_SHA_512-Random"
"AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
"Indexed"
"Unindexed"
"RangePreview"
NOTE:
MongoDB, Inc
2017-present, MongoDB, Inc
March 31, 2024 | 1.26.0 |