PcapPlusPlus
Next
|
#include <SSLLayer.h>
Public Member Functions | |
SSLApplicationDataLayer (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
uint8_t * | getEncryptedData () const |
size_t | getEncryptedDataLen () const |
std::string | toString () const override |
void | computeCalculateFields () override |
Public Member Functions inherited from pcpp::SSLLayer | |
ssl_tls_record_layer * | getRecordLayer () const |
SSLVersion | getRecordVersion () const |
SSLRecordType | getRecordType () const |
size_t | getHeaderLen () const override |
void | parseNextLayer () override |
OsiModelLayer | getOsiModelLayer () const override |
Public Member Functions inherited from pcpp::Layer | |
~Layer () override | |
Layer * | getNextLayer () const |
Layer * | getPrevLayer () const |
ProtocolType | getProtocol () const |
bool | isMemberOfProtocolFamily (ProtocolTypeFamily protocolTypeFamily) const |
uint8_t * | getData () const |
size_t | getDataLen () const |
uint8_t * | getLayerPayload () const |
size_t | getLayerPayloadSize () const |
bool | isAllocatedToPacket () const |
void | copyData (uint8_t *toArr) const |
uint8_t * | getDataPtr (size_t offset=0) const override |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::SSLLayer | |
static bool | isSSLPort (uint16_t port) |
static bool | IsSSLMessage (uint16_t srcPort, uint16_t dstPort, uint8_t *data, size_t dataLen, bool ignorePorts=false) |
static SSLLayer * | createSSLMessage (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
Represents SSL/TLS application data layer. This message contains the encrypted data transferred from client to server and vice-versa after the SSL/TLS handshake was completed successfully
|
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 |
|
inlineoverridevirtual |
There are no calculated fields for this layer
Implements pcpp::Layer.
uint8_t* pcpp::SSLApplicationDataLayer::getEncryptedData | ( | ) | const |
size_t pcpp::SSLApplicationDataLayer::getEncryptedDataLen | ( | ) | const |
|
overridevirtual |
Implements pcpp::Layer.