220 void* convert() const;
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
encrypt & key_id(bsoncxx::v_noabi::types::bson_value::view_or_value key_id)
Sets the key to use for this encryption operation. A key id can be used instead of a key alt name.
encrypt & algorithm(encryption_algorithm algorithm)
Sets the algorithm to use for encryption.
encrypt & key_alt_name(std::string name)
Sets a name by which to lookup a key from the key vault collection to use for this encryption operati...
encrypt & query_type(encryption_query_type query_type)
Sets the query type to use for encryption.
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".
Definition encrypt.hpp:130
encrypt & contention_factor(int64_t contention_factor)
Sets the contention factor to use for encryption. contentionFactor only applies when algorithm is "In...
encrypt & range_opts(options::range opts)
Sets the range options to use for encryption.
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.
Definition encrypt.hpp:101
@ k_range
Use range encryption.
Definition encrypt.hpp:121
@ k_indexed
Use indexed encryption.
Definition encrypt.hpp:111
@ k_random
Use randomized encryption.
Definition encrypt.hpp:106
@ k_unindexed
Use unindexed encryption.
Definition encrypt.hpp:116
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.
Declares entities representing options to use with various commands.
Declares entities whose ABI stability is NOT guaranteed.
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.