9#ifndef BOTAN_TLS_SERVER_IMPL_13_H_
10#define BOTAN_TLS_SERVER_IMPL_13_H_
12#include <botan/internal/tls_channel_impl_13.h>
13#include <botan/internal/tls_cipher_state.h>
14#include <botan/internal/tls_handshake_state_13.h>
15#include <botan/internal/tls_handshake_transitions.h>
27 const std::shared_ptr<const Policy>&
policy,
28 const std::shared_ptr<RandomNumberGenerator>&
rng);
43 void process_dummy_change_cipher_spec()
override;
55 void maybe_handle_compatibility_mode();
56 void maybe_log_secret(std::string_view label, std::span<const uint8_t> secret)
const override;
64 std::optional<Session> m_resumed_session;
65 std::optional<std::string> m_psk_identity;
const Policy & policy() const
void handle(const Key_Update &key_update)
Credentials_Manager & credentials_manager()
RandomNumberGenerator & rng()
Session_Manager & session_manager()
Callbacks & callbacks() const
std::vector< X509_Certificate > peer_cert_chain() const override
size_t send_new_session_tickets(size_t tickets) override
std::optional< std::string > external_psk_identity() const override
std::shared_ptr< const Public_Key > peer_raw_public_key() const override
bool is_handshake_complete() const override
std::string application_protocol() const override
bool new_session_ticket_supported() const override
Server_Impl_13(const std::shared_ptr< Callbacks > &callbacks, const std::shared_ptr< Session_Manager > &session_manager, const std::shared_ptr< Credentials_Manager > &credentials_manager, const std::shared_ptr< const Policy > &policy, const std::shared_ptr< RandomNumberGenerator > &rng)
std::variant< New_Session_Ticket_13, Key_Update > Post_Handshake_Message_13
std::variant< Client_Hello_13, Client_Hello_12, Server_Hello_13, Server_Hello_12, Hello_Retry_Request, Encrypted_Extensions, Certificate_13, Certificate_Request_13, Certificate_Verify_13, Finished_13 > Handshake_Message_13