1MONGOC_CLIENT_DECRYPTION_DECRYPT(3)libmongocMONGOC_CLIENT_DECRYPTION_DECRYPT(3)
2
3
4

NAME

6       mongoc_client_decryption_decrypt - mongoc_client_decryption_decrypt()
7

SYNOPSIS

9          bool
10          mongoc_client_encryption_decrypt (mongoc_client_encryption_t *client_encryption,
11                                            const bson_value_t *ciphertext,
12                                            bson_value_t *value,
13                                            bson_error_t *error);
14
15       Performs explicit decryption.
16
17       value  is  always  initialized  (even  on  failure).  Caller  must call
18       bson_value_destroy() to free.
19

PARAMETERS

21client_encryption: A mongoc_client_encryption_t
22
23ciphertext: The ciphertext (a BSON binary with subtype 6) to decrypt.
24
25value: A bson_value_t for the resulting decrypted value.
26
27error: A bson_error_t set on failure.
28

RETURNS

30       Returns true if successful. Returns false and sets error otherwise.
31
32       SEE ALSO:
33          mongoc_client_enable_auto_encryption()
34
35          mongoc_client_encryption_encrypt()
36
37

AUTHOR

39       MongoDB, Inc
40
42       2017-present, MongoDB, Inc
43
44
45
46
471.21.1                           Mar 02, 202M2ONGOC_CLIENT_DECRYPTION_DECRYPT(3)
Impressum