GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
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.

  • client_encryption: A mongoc_client_encryption_t
  • ciphertext: The ciphertext (a BSON binary with subtype 6) to decrypt.
  • value: A bson_value_t for the resulting decrypted value.
  • error: A bson_error_t set on failure.

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.

July 3, 2025 1.30.4

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.