MCPcopy Create free account
hub / github.com/apache/qpid-proton / set_trusted_ca_db

Function set_trusted_ca_db

cpp/src/ssl_options.cpp:43–46  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

41}
42
43void inline set_trusted_ca_db(pn_ssl_domain_t *dom, const std::string &trust_db) {
44 if (pn_ssl_domain_set_trusted_ca_db(dom, trust_db.c_str()))
45 throw proton::error(MSG("SSL trust store initialization failure for " << trust_db));
46}
47
48void inline set_client_verify_mode(pn_ssl_domain_t *dom, enum proton::ssl::verify_mode mode) {
49 if (pn_ssl_domain_set_peer_authentication(dom, pn_ssl_verify_mode_t(mode), NULL))

Callers 2

ssl_server_optionsMethod · 0.85
ssl_client_optionsMethod · 0.85

Calls 3

errorClass · 0.85
c_strMethod · 0.80

Tested by

no test coverage detected