PcapPlusPlus
22.11
|
#include <SSLHandshake.h>
Classes | |
struct | SSLExtensionStruct |
Public Member Functions | |
SSLExtension (uint8_t *data) | |
SSLExtensionType | getType () const |
uint16_t | getTypeAsInt () const |
uint16_t | getLength () const |
uint16_t | getTotalLength () const |
uint8_t * | getData () const |
Represents a SSL/TLS extension. This is a base class that can represent any type of extension. Inherited classes may contain parsing logic for specific extensions. This class provides capabilities such as getting the extension type, length and viewing the extension data as raw (byte array)
pcpp::SSLExtension::SSLExtension | ( | uint8_t * | data | ) |
C'tor for this class
[in] | data | The raw data for the extension |
uint8_t* pcpp::SSLExtension::getData | ( | ) | const |
uint16_t pcpp::SSLExtension::getLength | ( | ) | const |
uint16_t pcpp::SSLExtension::getTotalLength | ( | ) | const |
SSLExtensionType pcpp::SSLExtension::getType | ( | ) | const |
uint16_t pcpp::SSLExtension::getTypeAsInt | ( | ) | const |