1MONGOC_AUTO_ENCRYPTION_OMPOTNSG_OSCE_TA_UETNOC_RlEYiNPbCTmREoYDnP_gTFoIIcOENL_DOSP_TMSA_PS(E3T)_ENCRYPTED_FIELDS_MAP(3)
2
3
4
6 void
7 mongoc_auto_encryption_opts_set_encrypted_fields_map (
8 mongoc_auto_encryption_opts_t *opts, const bson_t *encrypted_fields_map);
9
10 New in version 1.22.0.
11
12
14 • opts: The mongoc_auto_encryption_opts_t
15
16 • encrypted_fields_map: A bson_t where keys are collection namespaces
17 and values are encrypted fields documents.
18
19 Supplying an encrypted_fields_map provides more security than relying
20 on an encryptedFields obtained from the server. It protects against a
21 malicious server advertising a false encryptedFields.
22
23 The schema map does not apply to collections encrypted with:
24 Client-Side Field Level Encryption. See
25 mongoc_auto_encryption_opts_set_schema_map() instead.
26
27 SEE ALSO:
28 mongoc_client_enable_auto_encryption()
29
30 In-Use Encryption
31
32
34 MongoDB, Inc
35
37 2017-present, MongoDB, Inc
38
39
40
41
421.25.1 MONGOC_AUTNOo_vEN0C8R,YP2T0I2O3N_OPTS_SET_ENCRYPTED_FIELDS_MAP(3)