Botan  2.11.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:

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
 

Detailed Description

Server Hello Done Message

Definition at line 597 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 191 of file msg_server_hello.cpp.

193  {
194  hash.update(io.send(*this));
195  }
bool size_t const std::string & hash
Definition: argon2.h:105

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

◆ Server_Hello_Done() [2/2]

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

Definition at line 200 of file msg_server_hello.cpp.

201  {
202  if(buf.size())
203  throw Decoding_Error("Server_Hello_Done: Must be empty, and is not");
204  }
const uint8_t * buf
Definition: ffi.h:371

References buf.

Member Function Documentation

◆ type()

Handshake_Type Botan::TLS::Server_Hello_Done::type ( ) const
inlineoverride

Definition at line 600 of file tls_messages.h.

References Botan::TLS::SERVER_HELLO_DONE.


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