1MONGOC_CLIENT_ENCRYPTION_ADD_KEY_ALMTlO_iNNbGAmOMoCEn_(gC3oL)cIENT_ENCRYPTION_ADD_KEY_ALT_NAME(3)
2
3
4

NAME

6       mongoc_client_encryption_add_key_alt_name    -    mongoc_client_encryp‐
7       tion_add_key_alt_name()
8

SYNOPSIS

10          bool
11          mongoc_client_encryption_add_key_alt_name (
12             mongoc_client_encryption_t *client_encryption,
13             const bson_value_t *keyid,
14             const char *keyaltname,
15             bson_t *key_doc,
16             bson_error_t *error);
17
18       Add keyaltname to the set of alternate names in the key  document  with
19       UUID keyid.
20

PARAMETERS

22client_encryption: A mongoc_client_encryption_t.
23
24keyid: A UUID (BSON binary subtype 0x04) key ID of the key to add the
25         key alternate name to.
26
27keyaltname: The key alternate name to add.
28
29key_doc: Optional. An uninitialized bson_t set to the  value  of  the
30         key document before addition of the alternate name, or an empty docu‐
31         ment if the key does not exist. Must be freed by bson_destroy().
32
33error: Optional. bson_error_t.
34

RETURNS

36       Returns true if successful. Returns false and sets error otherwise.
37
38       SEE ALSO:
39          mongoc_client_encryption_t
40
41

AUTHOR

43       MongoDB, Inc
44
46       2017-present, MongoDB, Inc
47
48
49
50
511.24.3                           AuMgON1G7O,C_2C0L2I3ENT_ENCRYPTION_ADD_KEY_ALT_NAME(3)
Impressum