159 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _pem_file;
160 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _pem_password;
161 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _ca_file;
162 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _ca_dir;
163 bsoncxx::v_noabi::stdx::optional<
bsoncxx::v_noabi::
string::view_or_value> _crl_file;
164 bsoncxx::v_noabi::stdx::optional<
bool> _allow_invalid_certificates;
171#include <mongocxx/config/postlude.hpp>
A polyfill for std::optional<T>.
Definition optional.hpp:800
A view-or-value variant type for strings.
Definition view_or_value.hpp:41
Used by mongocxx::v_noabi::options::client::tls_opts.
Definition tls.hpp:33
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.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & pem_file() const
Retrieves the current path to the .pem file.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & pem_password() const
Retrieves the current decryption pass phrase.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & ca_dir() const
Retrieves the current path to the CA directory.
bsoncxx::v_noabi::stdx::optional< bool > const & allow_invalid_certificates() const
Retrieves whether or not the driver will check the server's CA file.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & ca_file() const
Retrieves the current path to the CA file.
bsoncxx::v_noabi::stdx::optional< bsoncxx::v_noabi::string::view_or_value > const & crl_file() const
Retrieves the current path to the .pem file that contains revoked certificates.
#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 bsoncxx::v_noabi::string::view_or_value.
Declares mongocxx::v_noabi::options::tls.
Provides std::optional-related polyfills for library API usage.