PcapPlusPlus
Next
|
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>
Additional Inherited Members | |
![]() | |
std::vector< uint8_t > | toDER () const |
std::string | toPEM () const |
![]() | |
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 std::unique_ptr< RSAPrivateKey > | fromDER (uint8_t *derData, size_t derDataLen, bool ownDerData=false) |
static std::unique_ptr< RSAPrivateKey > | fromDER (const std::string &derData) |
static std::unique_ptr< RSAPrivateKey > | fromDERFile (const std::string &derFileName) |
static std::unique_ptr< RSAPrivateKey > | fromPEM (const std::string &pemData) |
static std::unique_ptr< RSAPrivateKey > | fromPEMFile (const std::string &pemFileName) |
Represents an RSA private key in PKCS#1 format This class provides methods to decode and access the components of an RSA private key.