1MONGOC_CLIENT_ENCRYPTION_GET_KEYM_OBNYG_lOAiCLb_TmC_oLNnIAgEMoNEcT(_3E)NCRYPTION_GET_KEY_BY_ALT_NAME(3)
2
3
4
6 mongoc_client_encryption_get_key_by_alt_name - mongoc_client_encryp‐
7 tion_get_key_by_alt_name()
8
10 bool
11 mongoc_client_encryption_get_key_by_alt_name (
12 mongoc_client_encryption_t *client_encryption,
13 const char *keyaltname,
14 bson_value_t *key_doc,
15 bson_error_t *error);
16
17 Get a key document in the key vault collection that has the given
18 keyaltname.
19
21 • client_encryption: A mongoc_client_encryption_t.
22
23 • keyaltname: The key alternate name of the key to get.
24
25 • key_doc: Optional. An uninitialized bson_t set to the resulting key
26 document, or an empty document if the key does not exist. Must be
27 freed by bson_value_destroy().
28
29 • error: Optional. bson_error_t.
30
32 Returns true if successful. Returns false and sets error otherwise.
33
34 SEE ALSO:
35 mongoc_client_encryption_t
36
37
39 MongoDB, Inc
40
42 2017-present, MongoDB, Inc
43
44
45
46
471.23.1 MOONcGtOC2_0C,LI2E0N2T2_ENCRYPTION_GET_KEY_BY_ALT_NAME(3)