MONGOC_CLIENT_...E_KEY_ALT_NAME(3)
bestie, welcome to the libmongoc manual page for mongoc_client_encryption_remove_key_alt_name β the header spells it MONGOC_CLIENT_...E_KEY_ALT_NAME(3), and that ellipsis is main character energy. π
β¨
β¨ SYNOPSIS β¨
bool
mongoc_client_encryption_remove_key_alt_name (
mongoc_client_encryption_t *client_encryption,
const bson_value_t *keyid,
const char *keyaltname,
bson_t *key_doc,
bson_error_t *error);
okay so the vibe is: this function removes keyaltname from the set of keyAltNames in the key document with UUID keyid. it also removes the keyAltNames field from the key document if it would otherwise be empty β like, if that set would be left with nothing, the field itself gets ghosted too. π¨ no cap.
π PARAMETERS π
client_encryptionβ amongoc_client_encryption_t. slay.keyidβ the UUID (BSON binary subtype0x04) of the key you're removing the key alternate name from. periodt.keyaltnameβ the key alternate name to remove. simple as that, bestie.key_docβ optional. an uninitializedbson_tset to the value of the key document before removal of the key alternate name, or an empty document if the key does not exist. it must be freed bybson_value_destroy()β that's the rule, fr fr.errorβ optional. abson_error_t.
π₯ RETURNS π₯
returns true if successful. returns false and sets error otherwise. that's the whole vibe check. β
π SEE ALSO π
mongoc_client_encryption_t
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
this page is from libmongoc version 2.5.6, footer date Oct 09, 202 β yes the last digit got clipped, and honestly same. bye bestie, go be iconic with your key alt names πβ¨π«Ά
π¦ where this page comes from
- epel 10: mongo-c-driver-devel 2.5.6-1.el10_3 Β· Apache-2.0 AND ISC AND MIT AND Zlib
- π girlified by deepseek-ai/DeepSeek-V4.1-Flash-1017 on : a language model's rewrite of the original, under its terms