PcapPlusPlus
Next
|
#include <X509Decoder.h>
Public Member Functions | |
X509Key (const std::vector< uint8_t > &key) | |
std::string | toString (const std::string &delimiter=":") const |
const std::vector< uint8_t > & | getBytes () const |
Represents a key in an X.509 certificate
|
inlineexplicit |
Constructs an X509Key from a byte vector
[in] | key | The key data as a vector of bytes |
const std::vector<uint8_t>& pcpp::X509Key::getBytes | ( | ) | const |
Gets the raw key bytes
std::string pcpp::X509Key::toString | ( | const std::string & | delimiter = ":" | ) | const |
Converts the key to a formatted string
[in] | delimiter | The delimiter to use between the bytes (default: ":") |