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

SEE ALSO

33mongoc_client_enable_auto_encryption()
34
35mongoc_client_encryption_encrypt()
36

AUTHOR

38       MongoDB, Inc
39
41       2017-present, MongoDB, Inc
42
43
44
45
461.17.6                           Jun 03, 202M1ONGOC_CLIENT_DECRYPTION_DECRYPT(3)
Impressum