Botan  1.11.15
Public Member Functions
Botan::TLS::Finished Class Reference

#include <tls_messages.h>

Inheritance diagram for Botan::TLS::Finished:
Botan::TLS::Handshake_Message

List of all members.

Public Member Functions

 Finished (Handshake_IO &io, Handshake_State &state, Connection_Side side)
 Finished (const std::vector< byte > &buf)
Handshake_Type type () const override
bool verify (const Handshake_State &state, Connection_Side side) const
std::vector< byteverify_data () const

Detailed Description

Finished Message

Definition at line 441 of file tls_messages.h.


Constructor & Destructor Documentation

Definition at line 49 of file msg_finished.cpp.

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

   {
   m_verification_data = finished_compute_verify(state, side);
   state.hash().update(io.send(*this));
   }
Botan::TLS::Finished::Finished ( const std::vector< byte > &  buf)

Definition at line 68 of file msg_finished.cpp.

   {
   m_verification_data = buf;
   }

Member Function Documentation

Handshake_Type Botan::TLS::Finished::type ( ) const [inline, override, virtual]

Implements Botan::TLS::Handshake_Message.

Definition at line 444 of file tls_messages.h.

References Botan::TLS::FINISHED.

{ return FINISHED; }
bool Botan::TLS::Finished::verify ( const Handshake_State state,
Connection_Side  side 
) const

Definition at line 76 of file msg_finished.cpp.

   {
   return (m_verification_data == finished_compute_verify(state, side));
   }
std::vector<byte> Botan::TLS::Finished::verify_data ( ) const [inline]

Definition at line 446 of file tls_messages.h.

         { return m_verification_data; }

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