MongoDB C++ Driver
mongocxx-3.6.2
|
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>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
62 bsoncxx::types::bson_value::value create_data_key(std::
string kms_provider,
63 const options::data_key& opts = {});
100 class MONGOCXX_PRIVATE impl;
102 std::unique_ptr<impl> _impl;
105 MONGOCXX_INLINE_NAMESPACE_END
108 #include <mongocxx/config/postlude.hpp>
Class representing options for the object managing explicit client-side encryption.
Definition: client_encryption.hpp:36
Top level namespace for the MongoDB C++ driver.
Definition: bulk_write.hpp:24
Top level namespace for MongoDB C++ BSON functionality.
Definition: element.hpp:24
~client_encryption() noexcept
Destroys a client_encryption.
Class representing options for explicit client-side encryption.
Definition: encrypt.hpp:34
Definition: client_encryption.hpp:28
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).
A variant owning type that represents any BSON type.
Definition: value.hpp:39
A view-only variant that can contain any BSON type.
Definition: view.hpp:44