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 New in version 1.22.0.
15
16
18 • opts: The mongoc_auto_encryption_opts_t
19
20 • encrypted_fields_map: A bson_t where keys are collection namespaces
21 and values are encrypted fields documents.
22
23 Supplying an encrypted_fields_map provides more security than relying
24 on an encryptedFields obtained from the server. It protects against a
25 malicious server advertising a false encryptedFields.
26
27 The schema map does not apply to collections encrypted with:
28 Client-Side Field Level Encryption. See
29 mongoc_auto_encryption_opts_set_schema_map() instead.
30
31 SEE ALSO:
32 mongoc_client_enable_auto_encryption()
33
34 In-Use Encryption
35
36
38 MongoDB, Inc
39
41 2017-present, MongoDB, Inc
42
43
44
45
461.24.3 MONGOC_AUTAOu_gEN1C7R,YP2T0I2O3N_OPTS_SET_ENCRYPTED_FIELDS_MAP(3)