Ubuntu Manpages

  • client_encryption: A mongoc_client_encryption_t <>
  • value: The value to encrypt.
  • opts: A mongoc_client_encryption_encrypt_opts_t <>.
  • ciphertext: A bson_value_t <https://www.mongoc.org/libbson/current/bson_value_t.html> for the resulting ciphertext (a BSON binary with subtype 6).
  • error: A bson_error_t <https://www.mongoc.org/libbson/current/bson_error_t.html> set on failure.

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

See also:

mongoc_client_encryption_encrypt_opts_t <>

mongoc_client_enable_auto_encryption() <>

mongoc_client_decryption_decrypt() <>

mongoc_client_encryption_encrypt_expression() <>



MongoDB, Inc

2009-present, MongoDB, Inc.