PcapPlusPlus  21.05
pcpp::TLSSupportedGroupsExtension Class Reference

#include <SSLHandshake.h>

Inheritance diagram for pcpp::TLSSupportedGroupsExtension:
pcpp::SSLExtension

Public Member Functions

 TLSSupportedGroupsExtension (uint8_t *data)
 
std::vector< uint16_t > getSupportedGroups () const
 
- Public Member Functions inherited from pcpp::SSLExtension
 SSLExtension (uint8_t *data)
 
SSLExtensionType getType () const
 
uint16_t getTypeAsInt () const
 
uint16_t getLength () const
 
uint16_t getTotalLength () const
 
uint8_t * getData () const
 

Detailed Description

Represents TLS Supported Groups extension. Inherits from SSLExtension and adds parsing of the supported groups (Elliptic Curves) mentioned in the extension data

Constructor & Destructor Documentation

◆ TLSSupportedGroupsExtension()

pcpp::TLSSupportedGroupsExtension::TLSSupportedGroupsExtension ( uint8_t *  data)
inline

C'tor for this class

Parameters
[in]dataThe raw data for the extension

Member Function Documentation

◆ getSupportedGroups()

std::vector<uint16_t> pcpp::TLSSupportedGroupsExtension::getSupportedGroups ( ) const
Returns
A vector of the supported groups (also known as "Elliptic Curves")