1MONGOC_CLIENT_ENCRYPTION_GET_KEY(3)libmongocMONGOC_CLIENT_ENCRYPTION_GET_KEY(3)
2
3
4

NAME

6       mongoc_client_encryption_get_key - mongoc_client_encryption_get_key()
7

SYNOPSIS

9          bool
10          mongoc_client_encryption_get_key (mongoc_client_encryption_t *client_encryption,
11                                            const bson_value_t *keyid,
12                                            bson_t *key_doc,
13                                            bson_error_t *error);
14
15       Get  a  key  document  in  the  key vault collection that has the given
16       keyid.
17

PARAMETERS

19client_encryption: A mongoc_client_encryption_t.
20
21keyid: The UUID (BSON binary subtype 0x04) of the key to get.
22
23key_doc: Optional. An uninitialized bson_t set to the  resulting  key
24         document,  or an empty document value if the key does not exist. Must
25         be freed by bson_destroy().
26
27error: Optional. bson_error_t.
28

RETURNS

30       Returns true if successful. Returns false and sets error otherwise.
31
32       SEE ALSO:
33          mongoc_client_encryption_t
34
35

AUTHOR

37       MongoDB, Inc
38
40       2017-present, MongoDB, Inc
41
42
43
44
451.24.3                           Aug 17, 202M3ONGOC_CLIENT_ENCRYPTION_GET_KEY(3)
Impressum