LIEF: Library to Instrument Executable Formats Version 0.15.1
Loading...
Searching...
No Matches
LIEF::PE::SignatureParser Class Reference

#include <SignatureParser.hpp>

Public Types

using attributes_t = std::vector<std::unique_ptr<Attribute>>
 
using signer_infos_t = std::vector<SignerInfo>
 
using x509_certificates_t = std::vector<x509>
 
using time_t = std::array<int32_t, 6>
 

Public Member Functions

 SignatureParser (const SignatureParser &)=delete
 
SignatureParseroperator= (const SignatureParser &)=delete
 

Static Public Member Functions

static result< Signatureparse (std::vector< uint8_t > data, bool skip_header=false)
 Parse a PKCS #7 signature given a raw blob.
 
static result< Signatureparse (BinaryStream &stream, bool skip_header=false)
 Parse a PKCS #7 signature given a BinaryStream.
 
static result< Signatureparse (const std::string &path)
 Parse a PKCS #7 signature from a file path.
 

Member Typedef Documentation

◆ attributes_t

using LIEF::PE::SignatureParser::attributes_t = std::vector<std::unique_ptr<Attribute>>

◆ signer_infos_t

◆ time_t

using LIEF::PE::SignatureParser::time_t = std::array<int32_t, 6>

◆ x509_certificates_t

Constructor & Destructor Documentation

◆ SignatureParser()

LIEF::PE::SignatureParser::SignatureParser ( const SignatureParser & )
delete

Member Function Documentation

◆ operator=()

SignatureParser & LIEF::PE::SignatureParser::operator= ( const SignatureParser & )
delete

◆ parse() [1/3]

static result< Signature > LIEF::PE::SignatureParser::parse ( BinaryStream & stream,
bool skip_header = false )
static

Parse a PKCS #7 signature given a BinaryStream.

◆ parse() [2/3]

static result< Signature > LIEF::PE::SignatureParser::parse ( const std::string & path)
static

Parse a PKCS #7 signature from a file path.

◆ parse() [3/3]

static result< Signature > LIEF::PE::SignatureParser::parse ( std::vector< uint8_t > data,
bool skip_header = false )
static

Parse a PKCS #7 signature given a raw blob.


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