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
tls {
52 const stdx::optional<bsoncxx::string::view_or_value>& pem_file()
const;
71 const stdx::optional<bsoncxx::string::view_or_value>& pem_password()
const;
91 const stdx::optional<bsoncxx::string::view_or_value>& ca_file()
const;
110 const stdx::optional<bsoncxx::string::view_or_value>& ca_dir()
const;
129 const stdx::optional<bsoncxx::string::view_or_value>& crl_file()
const;
141 tls& allow_invalid_certificates(
bool allow_invalid_certificates);
148 const stdx::optional<bool>& allow_invalid_certificates()
const;
151 stdx::optional<bsoncxx::string::view_or_value> _pem_file;
152 stdx::optional<bsoncxx::string::view_or_value> _pem_password;
153 stdx::optional<bsoncxx::string::view_or_value> _ca_file;
154 stdx::optional<bsoncxx::string::view_or_value> _ca_dir;
155 stdx::optional<bsoncxx::string::view_or_value> _crl_file;
156 stdx::optional<bool> _allow_invalid_certificates;
160 MONGOCXX_INLINE_NAMESPACE_END
163 #include <mongocxx/config/postlude.hpp>