PcapPlusPlus
22.11
|
#include <SSHLayer.h>
Public Member Functions | |
SSHEncryptedMessage (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) | |
size_t | getHeaderLen () const |
std::string | toString () const |
Public Member Functions inherited from pcpp::SSHLayer | |
void | parseNextLayer () |
void | computeCalculateFields () |
OsiModelLayer | getOsiModelLayer () const |
Public Member Functions inherited from pcpp::Layer | |
virtual | ~Layer () |
Layer * | getNextLayer () const |
Layer * | getPrevLayer () const |
ProtocolType | getProtocol () 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 |
Additional Inherited Members | |
Static Public Member Functions inherited from pcpp::SSHLayer | |
static SSHLayer * | createSSHMessage (uint8_t *data, size_t dataLen, Layer *prevLayer, Packet *packet) |
static bool | isSSHPort (uint16_t portSrc, uint16_t portDst) |
A class representing an SSH encrypted message. In such messages there is very little information to extract from the packet, hence this class doesn't expose any methods or getters, other than the ones inherited from parent classes.
It is assumed that any SSH message which does not fit to any of the other SSH message types, according to the heuristics described in the SSHLayer.h file description, is considered as an encrypted message.
|
inline |
A c'tor for this class that accepts raw message data. Please avoid using it as it's used internally when parsing SSH messagess in SSHLayer::createSSHMessage()
|
inlinevirtual |
Implements pcpp::Layer.
|
virtual |
Implements pcpp::Layer.