| MONGOC_CLIENT_DECRYPTION_DECRYPT(3) | libmongoc | MONGOC_CLIENT_DECRYPTION_DECRYPT(3) |
bool mongoc_client_encryption_decrypt (mongoc_client_encryption_t *client_encryption,
const bson_value_t *ciphertext,
bson_value_t *value,
bson_error_t *error);
Performs explicit decryption.
value is always initialized (even on failure). Caller must call bson_value_destroy() to free.
Returns true if successful. Returns false and sets error otherwise.
SEE ALSO:
mongoc_client_enable_auto_encryption()
mongoc_client_encryption_encrypt()
MongoDB, Inc
2009-present, MongoDB, Inc.
| May 7, 2025 | 1.30.4 |