160 stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _pem_file;
161 stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _pem_password;
162 stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _ca_file;
163 stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _ca_dir;
164 stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _crl_file;
165 stdx::optional<
bool> _allow_invalid_certificates;
172#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:874
Class representing a view-or-value variant type for strings.
Definition view_or_value.hpp:41
Class representing the optional arguments to a MongoDB driver client (TLS)
Definition tls.hpp:35
tls & pem_file(bsoncxx::v_noabi::string::view_or_value pem_file)
The path to the .pem file containing a public key certificate and its associated private key.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & pem_password() const
Retrieves the current decryption pass phrase.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & ca_dir() const
Retrieves the current path to the CA directory.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & pem_file() const
Retrieves the current path to the .pem file.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & ca_file() const
Retrieves the current path to the CA file.
const stdx::optional< bsoncxx::v_noabi::string::view_or_value > & crl_file() const
Retrieves the current path to the .pem file that contains revoked certificates.
const stdx::optional< bool > & allow_invalid_certificates() const
Retrieves whether or not the driver will check the server's CA file.
#define MONGOCXX_ABI_EXPORT_CDECL(...)
Equivalent to MONGOCXX_ABI_EXPORT with MONGOCXX_ABI_CDECL.
Definition fwd.hpp:222
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.
Provides std::optional-related polyfills for library API usage.
Redeclares bsoncxx::v_noabi::stdx in mongocxx::v_noabi::stdx for internal use.
Provides bsoncxx::v_noabi::string::view_or_value.
Declares mongocxx::v_noabi::options::tls.