|
Botan
1.11.15
|
#include <tls_messages.h>
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< byte > | verify_data () const |
Finished Message
Definition at line 441 of file tls_messages.h.
| Botan::TLS::Finished::Finished | ( | Handshake_IO & | io, |
| Handshake_State & | state, | ||
| Connection_Side | side | ||
| ) |
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;
}
| 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; }
1.7.6.1