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

#include <SpcIndirectData.hpp>

Inheritance diagram for LIEF::PE::SpcIndirectData:
Collaboration diagram for LIEF::PE::SpcIndirectData:

Public Member Functions

 SpcIndirectData ()
 
 SpcIndirectData (const SpcIndirectData &)=default
 
SpcIndirectDataoperator= (const SpcIndirectData &)=default
 
std::unique_ptr< Contentclone () const override
 
ALGORITHMS digest_algorithm () const
 Digest used to hash the file.
 
span< const uint8_t > digest () const
 PE's authentihash.
 
const std::string & file () const
 
void print (std::ostream &os) const override
 
void accept (Visitor &visitor) const override
 
 ~SpcIndirectData () override=default
 
- Public Member Functions inherited from LIEF::PE::ContentInfo::Content
 Content (oid_t oid)
 
const oid_tcontent_type () const
 
 ~Content () override=default
 
- Public Member Functions inherited from LIEF::Object
 Object ()
 
 Object (const Object &other)
 
Objectoperator= (const Object &other)
 
template<class T >
output_t< T > as ()
 
template<class T >
output_const_t< T > as () const
 
virtual bool operator== (const Object &other) const
 
virtual bool operator!= (const Object &other) const
 
virtual ~Object ()
 

Static Public Member Functions

static bool classof (const ContentInfo::Content *content)
 

Static Public Attributes

static constexpr auto SPC_INDIRECT_DATA_OBJID = "1.3.6.1.4.1.311.2.1.4"
 

Additional Inherited Members

- Public Types inherited from LIEF::Object
template<class T >
using output_t = add_pointer_t<decay_t<T>>
 
template<class T >
using output_const_t = add_pointer_t<add_const_t<decay_t<T>>>
 

Constructor & Destructor Documentation

◆ SpcIndirectData() [1/2]

LIEF::PE::SpcIndirectData::SpcIndirectData ( )
inline

◆ SpcIndirectData() [2/2]

LIEF::PE::SpcIndirectData::SpcIndirectData ( const SpcIndirectData & )
default

◆ ~SpcIndirectData()

LIEF::PE::SpcIndirectData::~SpcIndirectData ( )
overridedefault

Member Function Documentation

◆ accept()

void LIEF::PE::SpcIndirectData::accept ( Visitor & visitor) const
overridevirtual

Implements LIEF::Object.

◆ classof()

static bool LIEF::PE::SpcIndirectData::classof ( const ContentInfo::Content * content)
inlinestatic

◆ clone()

std::unique_ptr< Content > LIEF::PE::SpcIndirectData::clone ( ) const
inlineoverridevirtual

◆ digest()

span< const uint8_t > LIEF::PE::SpcIndirectData::digest ( ) const
inline

PE's authentihash.

See also
LIEF::PE::Binary::authentihash

◆ digest_algorithm()

ALGORITHMS LIEF::PE::SpcIndirectData::digest_algorithm ( ) const
inline

Digest used to hash the file.

It should match LIEF::PE::SignerInfo::digest_algorithm

◆ file()

const std::string & LIEF::PE::SpcIndirectData::file ( ) const
inline

◆ operator=()

SpcIndirectData & LIEF::PE::SpcIndirectData::operator= ( const SpcIndirectData & )
default

◆ print()

void LIEF::PE::SpcIndirectData::print ( std::ostream & os) const
overridevirtual

Member Data Documentation

◆ SPC_INDIRECT_DATA_OBJID

auto LIEF::PE::SpcIndirectData::SPC_INDIRECT_DATA_OBJID = "1.3.6.1.4.1.311.2.1.4"
staticconstexpr

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