47 virtual std::vector<Certificate_Store*> trusted_certificate_authorities(
const std::string& type,
48 const std::string& context);
71 virtual std::vector<X509_Certificate> find_cert_chain(
72 const std::vector<std::string>& cert_key_types,
73 const std::vector<AlgorithmIdentifier>& cert_signature_schemes,
74 const std::vector<X509_DN>& acceptable_CAs,
75 const std::string& type,
76 const std::string& context);
91 virtual std::shared_ptr<Public_Key> find_raw_public_key(
const std::vector<std::string>& key_types,
92 const std::string& type,
93 const std::string& context);
115 virtual std::vector<
X509_Certificate> cert_chain(const std::vector<std::
string>& cert_key_types,
117 const std::
string& type,
118 const std::
string& context);
148 const std::
string& cert_key_type,
150 const std::
string& type,
151 const std::
string& context);
165 const std::
string& type,
166 const std::
string& context);
177 const std::
string& type,
178 const std::
string& context);
208 virtual std::
string psk_identity_hint(const std::
string& type, const std::
string& context);
220 virtual std::
string psk_identity(const std::
string& type,
221 const std::
string& context,
222 const std::
string& identity_hint);
246 virtual
SymmetricKey psk(const std::
string& type, const std::
string& context, const std::
string& identity);
271 virtual std::vector<TLS::ExternalPSK> find_preshared_keys(std::string_view host,
272 TLS::Connection_Side whoami,
273 const std::vector<std::
string>& identities = {},
274 const std::optional<std::string>& prf = std::nullopt);
300 virtual std::optional<TLS::ExternalPSK> choose_preshared_key(
301 std::string_view host,
303 const std::vector<std::string>& identities,
304 const std::optional<std::string>& prf = std::nullopt);