1MONGOC_CLIENT_ENCRYPTION_MEONNCGROYCP_TC_LOIPETlNSiT_b_SmEEoNTnC_gRAoYLcPGTOIROINT_HEMN(C3R)YPT_OPTS_SET_ALGORITHM(3)
2
3
4
6 mongoc_client_encryption_encrypt_opts_set_algorithm - mongoc_client_en‐
7 cryption_encrypt_opts_set_algorithm()
8
10 void
11 mongoc_client_encryption_encrypt_opts_set_algorithm (
12 mongoc_client_encryption_encrypt_opts_t *opts, const char *algorithm);
13
14 #define MONGOC_AEAD_AES_256_CBC_HMAC_SHA_512_RANDOM "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
15 #define MONGOC_AEAD_AES_256_CBC_HMAC_SHA_512_DETERMINISTIC "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
16 // (Experimental: See below)
17 #define MONGOC_ENCRYPT_ALGORITHM_INDEXED "Indexed"
18 // (Experimental: See below)
19 #define MONGOC_ENCRYPT_ALGORITHM_UNINDEXED "Unindexed"
20
21 Identifies the algorithm to use for encryption. Valid values of algo‐
22 rithm are:
23
24 "AEAD_AES_256_CBC_HMAC_SHA_512-Random"
25 for randomized encryption.
26
27 "AEAD_AES_256_CBC_HMAC_SHA_512-Deterministic"
28 for deterministic (queryable) encryption.
29
30 "Indexed"
31 for indexed encryption.
32
33 NOTE:
34 This option is part of the experimental Queryable Encryption API
35 and may be subject to breaking changes in future releases.
36
37 "Unindexed"
38 for unindexed encryption.
39
40 NOTE:
41 This option is part of the experimental Queryable Encryption API
42 and may be subject to breaking changes in future releases.
43
45 • opts: A mongoc_client_encryption_encrypt_opts_t
46
47 • algorithm: A char * identifying the algorithm.
48
50 MongoDB, Inc
51
53 2017-present, MongoDB, Inc
54
55
56
57
581.23.1 MONGOC_CLOIcEtNT2_0E,NC2R0Y2P2TION_ENCRYPT_OPTS_SET_ALGORITHM(3)