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

SYNOPSIS

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

PARAMETERS

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

RETURNS

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

AUTHOR

39       MongoDB, Inc
40
42       2017-present, MongoDB, Inc
43
44
45
46
471.25.1                           NoMvON0G8O,C_2C0L2I3ENT_ENCRYPTION_ADD_KEY_ALT_NAME(3)
Impressum