44 trust_certificate_ = certificate_path;
50 trust_certificate_value_ = certificate_value;
70 trust_certificate_value_,
71 disable_mozilla_ca_certificates_,
72 disable_deprecated_protocols,
78 bool enabled_{
true };
80 std::optional<std::string> trust_certificate_{};
81 std::optional<std::string> trust_certificate_value_{};
82 bool disable_mozilla_ca_certificates_{
false };
83 bool disable_deprecated_protocols{
true };
84 bool disable_tls_v1_2{
false };
Definition security_options.hxx:28
auto trust_certificate(std::string certificate_path) -> security_options &
Definition security_options.hxx:42
auto tls_verify(tls_verify_mode mode) -> security_options &
Definition security_options.hxx:36
auto trust_certificate_value(std::string certificate_value) -> security_options &
Definition security_options.hxx:48
auto build() const -> built
Definition security_options.hxx:64
auto enabled(bool enabled) -> security_options &
Definition security_options.hxx:30
Represents a single item from the result of collection::scan()
Definition allow_querying_search_index_options.hxx:28
tls_verify_mode
Definition tls_verify_mode.hxx:22
Definition security_options.hxx:54
bool disable_deprecated_protocols
Definition security_options.hxx:60
std::optional< std::string > trust_certificate_value
Definition security_options.hxx:58
bool disable_tls_v1_2
Definition security_options.hxx:61
bool enabled
Definition security_options.hxx:55
bool disable_mozilla_ca_certificates
Definition security_options.hxx:59
std::optional< std::string > trust_certificate
Definition security_options.hxx:57
tls_verify_mode tls_verify
Definition security_options.hxx:56