MONGOC_CLIENT_...YPTION_DECRYPT(3)
π MONGOC_CLIENT_...YPTION_DECRYPT(3)
okay so bestie, this is the MONGOC_CLIENT_...YPTION_DECRYPT(3) page from the libmongoc manual. Yes, the title is serving ellipsis realness β we are not fixing it, we are respecting the lore. π
β¨ SYNOPSIS β¨
bool
mongoc_client_encryption_decrypt (mongoc_client_encryption_t *client_encryption,
const bson_value_t *ciphertext,
bson_value_t *value,
bson_error_t *error);
This function performs explicit decryption. No cap. π₯
The value is always initialized (even on failure). The caller must call bson_value_destroy() to free it. Do not skip this, bestie β that's your cleanup era. π
π PARAMETERS π
client_encryptionβ Amongoc_client_encryption_t.ciphertextβ The ciphertext (a BSON binary with subtype6) to decrypt. π«Άvalueβ Abson_value_tfor the resulting decrypted value.errorβ Abson_error_tset on failure.
π¦ RETURNS π¦
Returns true if successful. Returns false and sets error otherwise. That's the whole vibe check. β¨
π SEE ALSO π
mongoc_client_enable_auto_encryption()mongoc_client_encryption_encrypt()
π AUTHOR π
MongoDB, Inc
πΈ COPYRIGHT πΈ
2009-present, MongoDB, Inc.
okay bestie, that's the whole page β from libmongoc version 2.5.6, dated Oct 09, 202 in the footer (yes, the date is literally giving "squished by the terminal", but that's what the page says π). Slay, decrypt responsibly, and remember: bson_value_destroy() is self-care. π
π¦ 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