PcapPlusPlus  23.09
pcpp::SSLHelloRequestMessage Class Reference

#include <SSLHandshake.h>

Inheritance diagram for pcpp::SSLHelloRequestMessage:
pcpp::SSLHandshakeMessage

Public Member Functions

 SSLHelloRequestMessage (uint8_t *data, size_t dataLen, SSLHandshakeLayer *container)
 
std::string toString () const
 
- Public Member Functions inherited from pcpp::SSLHandshakeMessage
virtual SSLHandshakeType getHandshakeType () const
 
virtual size_t getMessageLength () const
 
virtual bool isMessageComplete () const
 
SSLHandshakeLayergetContainingLayer () const
 

Additional Inherited Members

- Static Public Member Functions inherited from pcpp::SSLHandshakeMessage
static SSLHandshakeMessagecreateHandshakeMessage (uint8_t *data, size_t dataLen, SSLHandshakeLayer *container)
 

Detailed Description

Represents SSL/TLS hello-request message (type 0). This message has no additional payload except for the common payload described in SSLHandshakeMessage

Constructor & Destructor Documentation

◆ SSLHelloRequestMessage()

pcpp::SSLHelloRequestMessage::SSLHelloRequestMessage ( uint8_t *  data,
size_t  dataLen,
SSLHandshakeLayer container 
)
inline

C'tor for this class. Currently only in use in SSLHandshakeMessage::createHandshakeMessage() and should be used by a user

Parameters
[in]dataThe message as raw data
[in]dataLenMessage raw data length in bytes
[in]containerThe SSL handshake layer which shall contain this message

Member Function Documentation

◆ toString()

std::string pcpp::SSLHelloRequestMessage::toString ( ) const
virtual
Returns
A string representation of the message type (e.g "Client Hello message")

Implements pcpp::SSLHandshakeMessage.