PcapPlusPlus
Next
|
Represents an RSA public key in PKCS#1 format This class provides methods to decode and access the components of an RSA public key. More...
#include <CryptoKeyDecoder.h>
Public Member Functions | |
std::string | getModulus () const |
uint64_t | getPublicExponent () const |
![]() | |
std::vector< uint8_t > | toDER () const |
std::string | toPEM () const |
Additional Inherited Members | |
![]() | |
static std::unique_ptr< RSAPublicKey > | fromDER (uint8_t *derData, size_t derDataLen, bool ownDerData=false) |
static std::unique_ptr< RSAPublicKey > | fromDER (const std::string &derData) |
static std::unique_ptr< RSAPublicKey > | fromDERFile (const std::string &derFileName) |
static std::unique_ptr< RSAPublicKey > | fromPEM (const std::string &pemData) |
static std::unique_ptr< RSAPublicKey > | fromPEMFile (const std::string &pemFileName) |
Represents an RSA public key in PKCS#1 format This class provides methods to decode and access the components of an RSA public key.
std::string pcpp::RSAPublicKey::getModulus | ( | ) | const |
uint64_t pcpp::RSAPublicKey::getPublicExponent | ( | ) | const |