66 bsoncxx::v_noabi::types::bson_value::view_or_value> const&)
220 void* convert() const;
222 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::types::bson_value::view_or_value> _key_id;
223 bsoncxx::v_noabi::stdx::optional<std::
string> _key_alt_name;
225 bsoncxx::v_noabi::stdx::optional<int64_t> _contention_factor;
227 bsoncxx::v_noabi::stdx::optional<options::
range> _range_opts;
234#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:800
Used by mongocxx::v_noabi::client_encryption.
Definition client_encryption.hpp:35
Used by mongocxx::v_noabi::client_encryption.
Definition encrypt.hpp:37
bsoncxx::v_noabi::stdx::optional< std::string > const & key_alt_name() const
Gets the current key alt name.
encrypt & algorithm(encryption_algorithm algorithm)
Sets the algorithm to use for encryption.
bsoncxx::v_noabi::stdx::optional< options::range > const & range_opts() const
Gets the current range options.
bsoncxx::v_noabi::stdx::optional< encryption_query_type > const & query_type() const
Gets the current query type.
bsoncxx::v_noabi::stdx::optional< int64_t > const & contention_factor() const
Gets the current contention factor.
encryption_query_type
queryType only applies when algorithm is "indexed" or "range". It is an error to set queryType when a...
Definition encrypt.hpp:128
@ k_equality
Use query type "equality".
encryption_algorithm
Determines which AEAD_AES_256_CBC algorithm to use with HMAC_SHA_512 when encrypting data.
Definition encrypt.hpp:97
@ k_deterministic
Use deterministic encryption.
@ k_range
Use range encryption.
@ k_indexed
Use indexed encryption.
@ k_random
Use randomized encryption.
@ k_unindexed
Use unindexed encryption.
bsoncxx::v_noabi::stdx::optional< encryption_algorithm > const & algorithm() const
Gets the current algorithm.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > const & key_id() const
Gets the key_id.
Used by mongocxx::v_noabi::options::encrypt::range_opts.
Definition range.hpp:42
Declares mongocxx::v_noabi::client_encryption.
Declares mongocxx::v_noabi::options::encrypt.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition export.hpp:52
The mongocxx v_noabi macro guard prelude header.
The top-level namespace within which all bsoncxx library entities are declared.
The top-level namespace within which all mongocxx library entities are declared.
Provides mongocxx::v_noabi::options::range.
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.
Provides entities used to represent BSON types.
Provides std::optional-related polyfills for library API usage.