PcapPlusPlus  Next
pcpp::internal::RSAPrivateKeyDataView Class Reference

#include <CryptoKeyDecoder.h>

Inheritance diagram for pcpp::internal::RSAPrivateKeyDataView:
pcpp::internal::PrivateKeyDataView pcpp::PKCS8PrivateKey::RSAPrivateKeyData pcpp::RSAPrivateKey

Public Member Functions

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
 

Detailed Description

A class that contains RSA private key data

Member Function Documentation

◆ getCoefficient()

std::string pcpp::internal::RSAPrivateKeyDataView::getCoefficient ( ) const
Returns
The coefficient of the RSA private key

◆ getExponent1()

std::string pcpp::internal::RSAPrivateKeyDataView::getExponent1 ( ) const
Returns
The first exponent of the RSA private key

◆ getExponent2()

std::string pcpp::internal::RSAPrivateKeyDataView::getExponent2 ( ) const
Returns
The second exponent of the RSA private key

◆ getModulus()

std::string pcpp::internal::RSAPrivateKeyDataView::getModulus ( ) const
Returns
The modulus of the RSA private key

◆ getPrime1()

std::string pcpp::internal::RSAPrivateKeyDataView::getPrime1 ( ) const
Returns
The first prime factor of the RSA private key

◆ getPrime2()

std::string pcpp::internal::RSAPrivateKeyDataView::getPrime2 ( ) const
Returns
The second prime factor of the RSA private key

◆ getPrivateExponent()

std::string pcpp::internal::RSAPrivateKeyDataView::getPrivateExponent ( ) const
Returns
The private exponent of the RSA private key

◆ getPublicExponent()

uint64_t pcpp::internal::RSAPrivateKeyDataView::getPublicExponent ( ) const
Returns
The public exponent of the RSA private key

◆ getVersion()

uint8_t pcpp::internal::RSAPrivateKeyDataView::getVersion ( ) const
Returns
The version of the RSA private key