PcapPlusPlus  Next
pcpp::X509Internal::X509Extension Class Reference

#include <X509Decoder.h>

Inheritance diagram for pcpp::X509Internal::X509Extension:
pcpp::X509Internal::X509Base< Asn1SequenceRecord >

Public Member Functions

X509ExtensionType getType () const
 
bool isCritical () const
 
std::string getValue () const
 

Detailed Description

Internal class for handling X.509 extension records

Member Function Documentation

◆ getType()

X509ExtensionType pcpp::X509Internal::X509Extension::getType ( ) const

Gets the type of this extension

Returns
The X509ExtensionType of this extension

◆ getValue()

std::string pcpp::X509Internal::X509Extension::getValue ( ) const

Gets the value of this extension

Returns
The extension value as a string

◆ isCritical()

bool pcpp::X509Internal::X509Extension::isCritical ( ) const

Checks if this extension is marked as critical

Returns
true if the extension is critical, false otherwise