Botan  2.6.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::TLS::Handshake_Message Class Referenceabstract

#include <tls_handshake_msg.h>

Inheritance diagram for Botan::TLS::Handshake_Message:
Botan::TLS::Certificate Botan::TLS::Certificate_Req Botan::TLS::Certificate_Status Botan::TLS::Certificate_Verify Botan::TLS::Change_Cipher_Spec Botan::TLS::Client_Hello Botan::TLS::Client_Key_Exchange Botan::TLS::Finished Botan::TLS::Hello_Request Botan::TLS::Hello_Verify_Request Botan::TLS::New_Session_Ticket Botan::TLS::Server_Hello Botan::TLS::Server_Hello_Done Botan::TLS::Server_Key_Exchange

Public Member Functions

virtual std::vector< uint8_t > serialize () const =0
 
virtual Handshake_Type type () const =0
 
std::string type_string () const
 
virtual ~Handshake_Message ()=default
 

Detailed Description

TLS Handshake Message Base Class

Definition at line 26 of file tls_handshake_msg.h.

Constructor & Destructor Documentation

◆ ~Handshake_Message()

virtual Botan::TLS::Handshake_Message::~Handshake_Message ( )
virtualdefault

Member Function Documentation

◆ serialize()

virtual std::vector<uint8_t> Botan::TLS::Handshake_Message::serialize ( ) const
pure virtual

◆ type()

virtual Handshake_Type Botan::TLS::Handshake_Message::type ( ) const
pure virtual

◆ type_string()

std::string Botan::TLS::Handshake_Message::type_string ( ) const
Returns
string representation of this message type

Definition at line 19 of file tls_handshake_state.cpp.

References Botan::TLS::handshake_type_to_string(), and type().

20  {
22  }
virtual Handshake_Type type() const =0
const char * handshake_type_to_string(Handshake_Type type)

The documentation for this class was generated from the following files: