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

#include <tls_messages.h>

Inheritance diagram for Botan::TLS::Server_Hello_Done:
Botan::TLS::Handshake_Message

Public Member Functions

 Server_Hello_Done (Handshake_IO &io, Handshake_Hash &hash)
 
 Server_Hello_Done (const std::vector< uint8_t > &buf)
 
Handshake_Type type () const override
 
std::string type_string () const
 

Detailed Description

Server Hello Done Message

Definition at line 580 of file tls_messages.h.

Constructor & Destructor Documentation

◆ Server_Hello_Done() [1/2]

Botan::TLS::Server_Hello_Done::Server_Hello_Done ( Handshake_IO io,
Handshake_Hash hash 
)

Definition at line 195 of file msg_server_hello.cpp.

References hash, and Botan::TLS::Handshake_IO::send().

197  {
198  hash.update(io.send(*this));
199  }
MechanismType hash

◆ Server_Hello_Done() [2/2]

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

Definition at line 204 of file msg_server_hello.cpp.

205  {
206  if(buf.size())
207  throw Decoding_Error("Server_Hello_Done: Must be empty, and is not");
208  }

Member Function Documentation

◆ type()

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

Implements Botan::TLS::Handshake_Message.

Definition at line 583 of file tls_messages.h.

References Botan::TLS::SERVER_HELLO_DONE.

◆ 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: