95 const std::vector<Signature_Scheme>& offered_schemes,
97 const Policy& policy)
const;
101 bool for_client_auth,
102 const Policy& policy)
const;
180 std::unique_ptr<Handshake_IO> m_handshake_io;
184 std::optional<Ciphersuite> m_ciphersuite;
188 std::unique_ptr<Client_Hello_12> m_client_hello;
189 std::unique_ptr<Server_Hello_12> m_server_hello;
191 std::unique_ptr<Certificate_12> m_server_certs;
192 std::unique_ptr<Certificate_Status> m_server_cert_status;
193 std::unique_ptr<Server_Key_Exchange> m_server_kex;
194 std::unique_ptr<Certificate_Request_12> m_cert_req;
195 std::unique_ptr<Server_Hello_Done> m_server_hello_done;
196 std::unique_ptr<Certificate_12> m_client_certs;
197 std::unique_ptr<Client_Key_Exchange> m_client_kex;
198 std::unique_ptr<Certificate_Verify_12> m_client_verify;
199 std::unique_ptr<Certificate_Verify_12> m_server_verify;
200 std::unique_ptr<New_Session_Ticket_12> m_new_session_ticket;
201 std::unique_ptr<Finished_12> m_server_finished;
202 std::unique_ptr<Finished_12> m_client_finished;
std::pair< std::string, Signature_Format > parse_sig_format(const Public_Key &key, Signature_Scheme scheme, const std::vector< Signature_Scheme > &offered_schemes, bool for_client_auth, const Policy &policy) const