PcapPlusPlus
|
#include <SSLLayer.h>
Public Member Functions | |
SSLAlertLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
SSLAlertLevel | getAlertLevel () |
SSLAlertDescription | getAlertDescription () |
std::string | toString () |
void | computeCalculateFields () |
Public Member Functions inherited from pcpp::SSLLayer | |
ssl_tls_record_layer * | getRecordLayer () |
SSLVersion | getRecordVersion () |
SSLRecordType | getRecordType () |
size_t | getHeaderLen () |
void | parseNextLayer () |
OsiModelLayer | getOsiModelLayer () |
Public Member Functions inherited from pcpp::Layer | |
virtual | ~Layer () |
Layer * | getNextLayer () |
Layer * | getPrevLayer () |
ProtocolType | getProtocol () |
uint8_t * | getData () |
size_t | getDataLen () |
uint8_t * | getLayerPayload () |
size_t | getLayerPayloadSize () |
bool | isAllocatedToPacket () |
void | copyData (uint8_t *toArr) |
uint8_t * | getDataPtr (size_t offset=0) |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::SSLLayer | |
static bool | IsSSLMessage (uint16_t srcPort, uint16_t dstPort, uint8_t *data, size_t dataLen) |
static SSLLayer * | createSSLMessage (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
static std::string | sslVersionToString (SSLVersion ver) |
static const std::map< uint16_t, bool > * | getSSLPortMap () |
Represents SSL/TLS alert layer. Inherits from SSLLayer and adds parsing functionality such as retrieving the alert level and description
|
inline |
C'tor for this class that creates the layer from an existing packet raw data
[in] | data | A pointer to the raw data |
[in] | dataLen | Size of the data in bytes |
[in] | prevLayer | A pointer to the previous layer |
[in] | packet | A pointer to the Packet instance where layer will be stored in |
|
inlinevirtual |
There are no calculated fields for this layer
Implements pcpp::Layer.
SSLAlertDescription pcpp::SSLAlertLayer::getAlertDescription | ( | ) |
SSLAlertLevel pcpp::SSLAlertLayer::getAlertLevel | ( | ) |
|
virtual |
Implements pcpp::Layer.