MONGOC_CLIENT_...EY_BY_ALT_NAME(3)
π MONGOC_CLIENT_...EY_BY_ALT_NAME(3)
okay so bestie, this is MONGOC_CLIENT_...EY_BY_ALT_NAME(3) straight out of the libmongoc manual, and we're gonna get you fluent in it, no cap π«Ά
β¨ SYNOPSIS β¨
bool
mongoc_client_encryption_get_key_by_alt_name (
mongoc_client_encryption_t *client_encryption,
const char *keyaltname,
bson_value_t *key_doc,
bson_error_t *error);
That's the whole vibe. One function, four arguments, returns a bool. Iconic of her honestly π
πΈ DESCRIPTION πΈ
So what does it do? It gets a key document in the key vault collection that has the given keyaltname. That's the entire job. She looks it up by alternate name, periodt π
π PARAMETERS π
client_encryptionβ amongoc_client_encryption_t. You know her, you love her, she's your encryption bestie.keyaltnameβ the key alternate name of the key to get. Like the nickname you saved your key under πkey_docβ Optional. An uninitializedbson_tset to the resulting key document, or an empty document if the key does not exist. Must be freed bybson_value_destroy(). Yeah, the description saysbson_tβ that's literally what the page says, we're not editing her πerrorβ Optional. Abson_error_t. For when things go sideways, which they won't, but like, she's there πΈ
π¦ RETURNS π¦
Returns true if successful. Returns false and sets error otherwise. That's it β binary queen, no in-between π
π SEE ALSO
mongoc_client_encryption_t
π AUTHOR π
MongoDB, Inc
π COPYRIGHT π
2009-present, MongoDB, Inc.
alright bestie, that's the whole page, you ate it up fr fr π
β¨ β this one's rockin' version 2.5.6, dated Oct 09, 202, and it's giving manual-page main character energy till the very end ππ¦
π¦ 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