|
LIEF: Library to Instrument Executable Formats Version 0.17.1
|
Object that wraps a RSA key. More...
#include <RsaInfo.hpp>
Public Types | |
| using | rsa_ctx_handle = void* |
| using | bignum_wrapper_t = std::vector<uint8_t> |
| Container for BigInt. | |
Public Member Functions | |
| RsaInfo (const RsaInfo &other) | |
| RsaInfo (RsaInfo &&other) | |
| RsaInfo & | operator= (RsaInfo other) |
| bool | has_public_key () const |
| True if it embeds a public key. | |
| bool | has_private_key () const |
| True if it embeds a private key. | |
| bignum_wrapper_t | N () const |
| RSA public modulus. | |
| bignum_wrapper_t | E () const |
| RSA public exponent. | |
| bignum_wrapper_t | D () const |
| RSA private exponent. | |
| bignum_wrapper_t | P () const |
| First prime factor. | |
| bignum_wrapper_t | Q () const |
| Second prime factor. | |
| size_t | key_size () const |
| Size of the public modulus (in bits). | |
| void | swap (RsaInfo &other) |
| operator bool () const | |
| ~RsaInfo () | |
Object that wraps a RSA key.
| using LIEF::PE::RsaInfo::bignum_wrapper_t = std::vector<uint8_t> |
Container for BigInt.
| using LIEF::PE::RsaInfo::rsa_ctx_handle = void* |
| LIEF::PE::RsaInfo::RsaInfo | ( | const RsaInfo & | other | ) |
References RsaInfo().
Referenced by operator<<, operator=(), RsaInfo(), RsaInfo(), swap(), and ~RsaInfo().
| LIEF::PE::RsaInfo::~RsaInfo | ( | ) |
References RsaInfo().
| bignum_wrapper_t LIEF::PE::RsaInfo::D | ( | ) | const |
RSA private exponent.
| bignum_wrapper_t LIEF::PE::RsaInfo::E | ( | ) | const |
RSA public exponent.
| bool LIEF::PE::RsaInfo::has_private_key | ( | ) | const |
True if it embeds a private key.
| bool LIEF::PE::RsaInfo::has_public_key | ( | ) | const |
True if it embeds a public key.
| size_t LIEF::PE::RsaInfo::key_size | ( | ) | const |
Size of the public modulus (in bits).
| bignum_wrapper_t LIEF::PE::RsaInfo::N | ( | ) | const |
RSA public modulus.
| LIEF::PE::RsaInfo::operator bool | ( | ) | const |
| bignum_wrapper_t LIEF::PE::RsaInfo::P | ( | ) | const |
First prime factor.
| bignum_wrapper_t LIEF::PE::RsaInfo::Q | ( | ) | const |
Second prime factor.