mongoc_client_decryption_decrypt - Man Page

mongoc_client_decryption_decrypt()

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);

Performs explicit decryption.

value is always initialized (even on failure). Caller must call bson_value_destroy() to free.

Parameters

Returns

Returns true if successful. Returns false and sets error otherwise.

See Also

Author

MongoDB, Inc

Info

Feb 04, 2021 1.17.4 libmongoc