1MONGOC_AUTO_ENCRYPTION_OMPOTNSG_OSCE_TA_UETNOC_RlEYiNPbCTmREoYDnP_gTFoIIcOENL_DOSP_TMSA_PS(E3T)_ENCRYPTED_FIELDS_MAP(3)
2
3
4
6 mongoc_auto_encryption_opts_set_encrypted_fields_map - mongoc_auto_en‐
7 cryption_opts_set_encrypted_fields_map()
8
10 void
11 mongoc_auto_encryption_opts_set_encrypted_fields_map (
12 mongoc_auto_encryption_opts_t *opts, const bson_t *encrypted_fields_map);
13
14 IMPORTANT:
15 This API is part of the experimental Queryable Encryption API and
16 may be subject to breaking changes in future releases.
17
18 New in version 1.22.0.
19
20
22 • opts: The mongoc_auto_encryption_opts_t
23
24 • encrypted_fields_map: A bson_t where keys are collection namespaces
25 and values are encrypted fields documents.
26
27 Supplying an encrypted_fields_map provides more security than relying
28 on an encryptedFields obtained from the server. It protects against a
29 malicious server advertising a false encryptedFields.
30
31 SEE ALSO:
32 mongoc_client_enable_auto_encryption()
33
34 The guide for Using Client-Side Field Level Encryption
35
36
38 MongoDB, Inc
39
41 2017-present, MongoDB, Inc
42
43
44
45
461.23.1 MONGOC_AUTOOc_tEN2C0R,YP2T0I2O2N_OPTS_SET_ENCRYPTED_FIELDS_MAP(3)