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

#include <tls_messages.h>

Inheritance diagram for Botan::TLS::Change_Cipher_Spec:
Botan::TLS::Handshake_Message

Public Member Functions

std::vector< uint8_t > serialize () const override
 
Handshake_Type type () const override
 
std::string type_string () const
 

Detailed Description

Change Cipher Spec

Definition at line 621 of file tls_messages.h.

Member Function Documentation

◆ serialize()

std::vector<uint8_t> Botan::TLS::Change_Cipher_Spec::serialize ( ) const
inlineoverridevirtual
Returns
DER representation of this message

Implements Botan::TLS::Handshake_Message.

Definition at line 626 of file tls_messages.h.

627  { return std::vector<uint8_t>(1, 1); }

◆ type()

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

Implements Botan::TLS::Handshake_Message.

Definition at line 624 of file tls_messages.h.

References Botan::TLS::HANDSHAKE_CCS.

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