19#if defined(BOTAN_HAS_HAS_DEFAULT_TLS_CONTEXT)
29 Default_Credentials_Manager() {
31 m_cert_store = std::make_unique<System_Certificate_Store>();
37 std::vector<Certificate_Store*> trusted_certificate_authorities(
const std::string&,
const std::string&)
override {
39 return {m_cert_store.get()};
46 std::unique_ptr<Certificate_Store> m_cert_store;
52 m_credentials_manager(std::make_shared<Default_Credentials_Manager>()),
53 m_rng(std::make_shared<AutoSeeded_RNG>()),
54 m_session_manager(std::make_shared<Session_Manager_In_Memory>(m_rng)),
55 m_policy(std::make_shared<Default_Policy>()),
56 m_server_info(std::move(server_info)) {}