17#include <bsoncxx/types/bson_value/value.hpp>
18#include <bsoncxx/types/bson_value/view.hpp>
19#include <mongocxx/options/client_encryption.hpp>
20#include <mongocxx/options/data_key.hpp>
21#include <mongocxx/options/encrypt.hpp>
23#include <mongocxx/config/prelude.hpp>
26MONGOCXX_INLINE_NAMESPACE_BEGIN
78 bsoncxx::types::bson_value::value create_data_key(std::
string kms_provider,
79 const options::data_key& opts = {});
116 class MONGOCXX_PRIVATE impl;
118 std::unique_ptr<impl> _impl;
121MONGOCXX_INLINE_NAMESPACE_END
124#include <mongocxx/config/postlude.hpp>
A variant owning type that represents any BSON type.
Definition value.hpp:44
A view-only variant that can contain any BSON type.
Definition view.hpp:44
Class supporting operations for MongoDB Client-Side Field Level Encryption.
Definition client_encryption.hpp:31
client_encryption(options::client_encryption opts)
Creates a client_encryption object.
bsoncxx::types::bson_value::value encrypt(bsoncxx::types::bson_value::view value, const options::encrypt &opts)
Encrypts a BSON value with a given key and algorithm.
bsoncxx::types::bson_value::value decrypt(bsoncxx::types::bson_value::view value)
Decrypts an encrypted value (BSON binary of subtype 6).
~client_encryption() noexcept
Destroys a client_encryption.
Class representing options for the object managing explicit client-side encryption.
Definition client_encryption.hpp:36
Class representing options for explicit client-side encryption.
Definition encrypt.hpp:34
Top level namespace for MongoDB C++ BSON functionality.
Definition element.hpp:24
Top level namespace for the MongoDB C++ driver.
Definition bulk_write.hpp:24