PcapPlusPlus
21.05
|
#include <SSLHandshake.h>
Public Member Functions | |
virtual SSLHandshakeType | getHandshakeType () const |
virtual size_t | getMessageLength () const |
virtual bool | isMessageComplete () const |
SSLHandshakeLayer * | getContainingLayer () const |
virtual std::string | toString () const =0 |
Static Public Member Functions | |
static SSLHandshakeMessage * | createHandhakeMessage (uint8_t *data, size_t dataLen, SSLHandshakeLayer *container) |
A base class for SSL/TLS handshake messages. This is an abstract class and cannot be instantiated. SSL/TLS handshake messages are contained in SSLHandshakeLayer, meaning a SSLHandshakeLayer instance can contain one or more SSLHandshakeMessage instances. For example: one SSLHandshakeLayer may contain a server-hello, certificate, server-key-exchange, and server-hello-done messages (although it's not such a common case, most handshake layers contain 1 handshake message only)
|
static |
A factory method for creating instances of handshake messages from raw data
[in] | data | The raw data containing 1 handshake message |
[in] | dataLen | Raw data length in bytes |
[in] | container | A pointer to the SSLHandshakeLayer instance which will contain the created message. This parameter is required because the handshake message includes a pointer to its container |
|
inline |
|
virtual |
Reimplemented in pcpp::SSLUnknownMessage.
|
virtual |
Reimplemented in pcpp::SSLUnknownMessage.
|
virtual |
|
pure virtual |
Implemented in pcpp::SSLUnknownMessage, pcpp::SSLNewSessionTicketMessage, pcpp::SSLFinishedMessage, pcpp::SSLCertificateVerifyMessage, pcpp::SSLServerHelloDoneMessage, pcpp::SSLCertificateRequestMessage, pcpp::SSLClientKeyExchangeMessage, pcpp::SSLServerKeyExchangeMessage, pcpp::SSLHelloRequestMessage, pcpp::SSLCertificateMessage, pcpp::SSLServerHelloMessage, and pcpp::SSLClientHelloMessage.