mongoc_client_encryption_encrypt
mongoc_client_encryption_encrypt()
- Provided by: libmongoc-doc (Version: 1.16.1-1build2)
- Source: mongo-c-driver
- Report a bug
mongoc_client_encryption_encrypt()
bool mongoc_client_encryption_encrypt ( mongoc_client_encryption_t *client_encryption, const bson_value_t *value, mongoc_client_encryption_encrypt_opts_t *opts, bson_value_t *ciphertext, bson_error_t *error);
Performs explicit encryption.
ciphertext is always initialized (even on failure). Caller must call bson_value_destroy() to free.
Returns true if successful. Returns false and sets error otherwise.
MongoDB, Inc
2017-present, MongoDB, Inc