LIEF: Library to Instrument Executable Formats Version 0.15.0
Loading...
Searching...
No Matches
Public Types | Public Member Functions | List of all members
LIEF::PE::RsaInfo Class Reference

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)
 
RsaInfooperator= (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
 

Detailed Description

Object that wraps a RSA key.


The documentation for this class was generated from the following file: