PcapPlusPlus  Next
pcpp::X509Internal::X509KeyUsageDataDecoder Class Reference

#include <X509ExtensionDataDecoder.h>

Inheritance diagram for pcpp::X509Internal::X509KeyUsageDataDecoder:
pcpp::X509Internal::X509ExtensionDataDecoder

Public Member Functions

const std::string & getKeyUsage () const
 

Static Public Member Functions

static std::unique_ptr< X509KeyUsageDataDecodercreate (const std::string &rawData)
 

Detailed Description

Represents the data decoder for the key usage extension

Member Function Documentation

◆ create()

static std::unique_ptr<X509KeyUsageDataDecoder> pcpp::X509Internal::X509KeyUsageDataDecoder::create ( const std::string &  rawData)
static

A factory method that creates an instance of X509KeyUsageDataDecoder from raw data

Parameters
[in]rawDataThe raw data of the extension
Returns
A unique pointer to an instance of X509KeyUsageDataDecoder

◆ getKeyUsage()

const std::string& pcpp::X509Internal::X509KeyUsageDataDecoder::getKeyUsage ( ) const
inline
Returns
The key usage value