1MONGOC_CLIENT_ENCRYPTION_DELETE_KEY(l3i)bmonMgOoNcGOC_CLIENT_ENCRYPTION_DELETE_KEY(3)
2
3
4
6 bool
7 mongoc_client_encryption_delete_key (
8 mongoc_client_encryption_t *client_encryption,
9 const bson_value_t *keyid,
10 bson_t *reply,
11 bson_error_t *error);
12
13 Delete a key document in the key vault collection that has the given
14 keyid.
15
17 • client_encryption: A mongoc_client_encryption_t.
18
19 • keyid: The UUID (BSON binary subtype 0x04) of the key to delete.
20
21 • reply: Optional. An uninitialized bson_t set to the delete result.
22 Must be freed by bson_destroy().
23
24 • error: Optional. bson_error_t.
25
27 Returns true if successful. Returns false and sets error otherwise.
28
29 SEE ALSO:
30 mongoc_client_encryption_t
31 mongoc_client_encryption_create_datakey()
32
33
35 MongoDB, Inc
36
38 2017-present, MongoDB, Inc
39
40
41
42
431.25.1 Nov 08,M2O0N2G3OC_CLIENT_ENCRYPTION_DELETE_KEY(3)