8 #ifndef BOTAN_CREDENTIALS_MANAGER_H__
9 #define BOTAN_CREDENTIALS_MANAGER_H__
11 #include <botan/x509cert.h>
12 #include <botan/certstor.h>
13 #include <botan/symkey.h>
42 virtual std::vector<Certificate_Store*> trusted_certificate_authorities(
43 const std::string&
type,
44 const std::string& context);
61 virtual std::vector<X509_Certificate> cert_chain(
62 const std::vector<std::string>& cert_key_types,
63 const std::string& type,
64 const std::string& context);
80 std::vector<X509_Certificate> cert_chain_single_type(
81 const std::string& cert_key_type,
82 const std::string& type,
83 const std::string& context);
92 const std::string& type,
93 const std::string& context);
100 virtual bool attempt_srp(
const std::string& type,
101 const std::string& context);
110 virtual std::string srp_identifier(
const std::string& type,
111 const std::string& context);
122 virtual std::string srp_password(
const std::string& type,
123 const std::string& context,
124 const std::string& identifier);
129 virtual bool srp_verifier(
const std::string& type,
130 const std::string& context,
131 const std::string& identifier,
132 std::string& group_name,
134 std::vector<uint8_t>& salt,
135 bool generate_fake_on_unknown);
142 virtual std::string psk_identity_hint(
const std::string& type,
143 const std::string& context);
151 virtual std::string psk_identity(
const std::string& type,
152 const std::string& context,
153 const std::string& identity_hint);
164 const std::string& context,
165 const std::string& identity);