Botan  2.4.0
Crypto and TLS for C++11
Public Member Functions | List of all members
Botan::TLS::Hello_Request Class Referencefinal

#include <tls_messages.h>

Inheritance diagram for Botan::TLS::Hello_Request:
Botan::TLS::Handshake_Message

Public Member Functions

 Hello_Request (Handshake_IO &io)
 
 Hello_Request (const std::vector< uint8_t > &buf)
 
Handshake_Type type () const override
 
std::string type_string () const
 

Detailed Description

Hello Request Message

Definition at line 496 of file tls_messages.h.

Constructor & Destructor Documentation

◆ Hello_Request() [1/2]

Botan::TLS::Hello_Request::Hello_Request ( Handshake_IO io)
explicit

Definition at line 56 of file msg_client_hello.cpp.

References Botan::TLS::Handshake_IO::send().

57  {
58  io.send(*this);
59  }

◆ Hello_Request() [2/2]

Botan::TLS::Hello_Request::Hello_Request ( const std::vector< uint8_t > &  buf)
explicit

Definition at line 64 of file msg_client_hello.cpp.

65  {
66  if(buf.size())
67  throw Decoding_Error("Bad Hello_Request, has non-zero size");
68  }

Member Function Documentation

◆ type()

Handshake_Type Botan::TLS::Hello_Request::type ( ) const
inlineoverridevirtual
Returns
the message type

Implements Botan::TLS::Handshake_Message.

Definition at line 499 of file tls_messages.h.

References Botan::TLS::HELLO_REQUEST.

◆ type_string()

std::string Botan::TLS::Handshake_Message::type_string ( ) const
inherited
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 Botan::TLS::Handshake_Message::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: