19 #include <bsoncxx/stdx/optional.hpp>
20 #include <bsoncxx/string/view_or_value.hpp>
21 #include <mongocxx/stdx.hpp>
23 #include <mongocxx/config/prelude.hpp>
26 MONGOCXX_INLINE_NAMESPACE_BEGIN
32 class MONGOCXX_API
ssl {
48 const stdx::optional<bsoncxx::string::view_or_value>& pem_file()
const;
63 const stdx::optional<bsoncxx::string::view_or_value>& pem_password()
const;
79 const stdx::optional<bsoncxx::string::view_or_value>& ca_file()
const;
94 const stdx::optional<bsoncxx::string::view_or_value>& ca_dir()
const;
109 const stdx::optional<bsoncxx::string::view_or_value>& crl_file()
const;
117 ssl& allow_invalid_certificates(
bool allow_invalid_certificates);
124 const stdx::optional<bool>& allow_invalid_certificates()
const;
127 stdx::optional<bsoncxx::string::view_or_value> _pem_file;
128 stdx::optional<bsoncxx::string::view_or_value> _pem_password;
129 stdx::optional<bsoncxx::string::view_or_value> _ca_file;
130 stdx::optional<bsoncxx::string::view_or_value> _ca_dir;
131 stdx::optional<bsoncxx::string::view_or_value> _crl_file;
132 stdx::optional<bool> _allow_invalid_certificates;
136 MONGOCXX_INLINE_NAMESPACE_END
139 #include <mongocxx/config/postlude.hpp>
Definition: bulk_write.hpp:22
Class representing the optional arguments to a MongoDB driver client (SSL)
Definition: ssl.hpp:32
Class representing a view-or-value variant type for strings.
Definition: view_or_value.hpp:36