PcapPlusPlus  Next
pcpp::RSAPrivateKey Class Reference

Represents an RSA private key in PKCS#1 format This class provides methods to decode and access the components of an RSA private key. More...

#include <CryptoKeyDecoder.h>

Inheritance diagram for pcpp::RSAPrivateKey:
pcpp::internal::CryptographicKey< RSAPrivateKey > pcpp::internal::CryptoDataReader< RSAPrivateKey > pcpp::internal::RSAPrivateKeyDataView pcpp::internal::PrivateKeyDataView

Additional Inherited Members

- Public Member Functions inherited from pcpp::internal::CryptographicKey< RSAPrivateKey >
std::vector< uint8_t > toDER () const
 
std::string toPEM () const
 
- Public Member Functions inherited from pcpp::internal::RSAPrivateKeyDataView
uint8_t getVersion () const
 
std::string getModulus () const
 
uint64_t getPublicExponent () const
 
std::string getPrivateExponent () const
 
std::string getPrime1 () const
 
std::string getPrime2 () const
 
std::string getExponent1 () const
 
std::string getExponent2 () const
 
std::string getCoefficient () const
 
- Static Public Member Functions inherited from pcpp::internal::CryptoDataReader< RSAPrivateKey >
static std::unique_ptr< RSAPrivateKeyfromDER (uint8_t *derData, size_t derDataLen, bool ownDerData=false)
 
static std::unique_ptr< RSAPrivateKeyfromDER (const std::string &derData)
 
static std::unique_ptr< RSAPrivateKeyfromDERFile (const std::string &derFileName)
 
static std::unique_ptr< RSAPrivateKeyfromPEM (const std::string &pemData)
 
static std::unique_ptr< RSAPrivateKeyfromPEMFile (const std::string &pemFileName)
 

Detailed Description

Represents an RSA private key in PKCS#1 format This class provides methods to decode and access the components of an RSA private key.