9 #ifndef BOTAN_TLS_CLIENT_H__
10 #define BOTAN_TLS_CLIENT_H__
12 #include <botan/tls_channel.h>
13 #include <botan/credentials_manager.h>
59 const std::vector<std::string>& next_protocols = {},
107 const std::vector<std::string>& next_protocols = {},
127 const std::vector<std::string>& next_protocols = {}
136 const std::vector<std::string>& next_protocols);
138 std::vector<X509_Certificate>
142 bool force_full_renegotiation)
override;
145 bool force_full_renegotiation,
147 const std::string& srp_identifier =
"",
148 const std::vector<std::string>& next_protocols = {});
150 void process_handshake_msg(
const Handshake_State* active_state,
151 Handshake_State& pending_state,
153 const std::vector<uint8_t>& contents)
override;
155 Handshake_State* new_handshake_state(Handshake_IO* io)
override;
158 const Server_Information m_info;
159 std::string m_application_protocol;
std::function< void(Alert, const uint8_t[], size_t)> alert_cb
std::function< void(const uint8_t[], size_t)> output_fn
static Protocol_Version latest_tls_version()
const std::string & application_protocol() const
class BOTAN_DLL BOTAN_DEPRECATED("LibraryInitializer is no longer required") LibraryInitializer
std::function< bool(const Session &)> handshake_cb
static size_t IO_BUF_DEFAULT_SIZE
std::function< void(const uint8_t[], size_t)> data_cb
std::function< void(const Handshake_Message &)> handshake_msg_cb