.\" Man page generated from reStructuredText. . . .nr rst2man-indent-level 0 . .de1 rstReportMargin \\$1 \\n[an-margin] level \\n[rst2man-indent-level] level margin: \\n[rst2man-indent\\n[rst2man-indent-level]] - \\n[rst2man-indent0] \\n[rst2man-indent1] \\n[rst2man-indent2] .. .de1 INDENT .\" .rstReportMargin pre: . RS \\$1 . nr rst2man-indent\\n[rst2man-indent-level] \\n[an-margin] . nr rst2man-indent-level +1 .\" .rstReportMargin post: .. .de UNINDENT . RE .\" indent \\n[an-margin] .\" old: \\n[rst2man-indent\\n[rst2man-indent-level]] .nr rst2man-indent-level -1 .\" new: \\n[rst2man-indent\\n[rst2man-indent-level]] .in \\n[rst2man-indent\\n[rst2man-indent-level]]u .. .TH "MONGOC_CLIENT_DECRYPTION_DECRYPT" "3" "May 07, 2024" "1.27.1" "libmongoc" .SH SYNOPSIS .INDENT 0.0 .INDENT 3.5 .sp .EX bool mongoc_client_encryption_decrypt (mongoc_client_encryption_t *client_encryption, const bson_value_t *ciphertext, bson_value_t *value, bson_error_t *error); .EE .UNINDENT .UNINDENT .sp Performs explicit decryption. .sp \fBvalue\fP is always initialized (even on failure). Caller must call \fI\%bson_value_destroy()\fP to free. .SH PARAMETERS .INDENT 0.0 .IP \(bu 2 \fBclient_encryption\fP: A \fI\%mongoc_client_encryption_t\fP .IP \(bu 2 \fBciphertext\fP: The ciphertext (a BSON binary with subtype 6) to decrypt. .IP \(bu 2 \fBvalue\fP: A \fI\%bson_value_t\fP for the resulting decrypted value. .IP \(bu 2 \fBerror\fP: A \fI\%bson_error_t\fP set on failure. .UNINDENT .SH RETURNS .sp Returns \fBtrue\fP if successful. Returns \fBfalse\fP and sets \fBerror\fP otherwise. .sp \fBSEE ALSO:\fP .INDENT 0.0 .INDENT 3.5 .nf \fI\%mongoc_client_enable_auto_encryption()\fP .fi .sp .nf \fI\%mongoc_client_encryption_encrypt()\fP .fi .sp .UNINDENT .UNINDENT .SH AUTHOR MongoDB, Inc .SH COPYRIGHT 2017-present, MongoDB, Inc .\" Generated by docutils manpage writer. .