66        const 
bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::types::bson_value::view_or_value>&)
 
  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:826
 
Class representing options for the object managing explicit client-side encryption.
Definition client_encryption.hpp:35
 
Class representing options for explicit client-side encryption.
Definition encrypt.hpp:37
 
const bsoncxx::v_noabi::stdx::optional< encryption_algorithm > & algorithm() const
Gets the current algorithm.
 
const bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::types::bson_value::view_or_value > & key_id() const
Gets the key_id.
 
encrypt & algorithm(encryption_algorithm algorithm)
Sets the algorithm to use for encryption.
 
const bsoncxx::v_noabi::stdx::optional< encryption_query_type > & query_type() const
Gets the current query type.
 
const bsoncxx::v_noabi::stdx::optional< options::range > & range_opts() const
Gets the current range options.
 
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".
 
const bsoncxx::v_noabi::stdx::optional< int64_t > & contention_factor() const
Gets the current contention factor.
 
const bsoncxx::v_noabi::stdx::optional< std::string > & key_alt_name() const
Gets the current key alt name.
 
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.
 
RangeOpts specifies index options for a Queryable Encryption field supporting "range" queries.
Definition range.hpp:40
 
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 fwd.hpp:204
 
The mongocxx 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.
 
The top-level namespace reserved for the C++ standard library.
 
Provides std::optional-related polyfills for library API usage.
 
Provides mongocxx::v_noabi::options::range.
 
Provides bsoncxx::v_noabi::types::bson_value::view_or_value.
 
Provides entities used to represent BSON types.