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

Interface over the structure described by the OID 1.3.6.1.4.1.311.10.3.28 (szOID_PLATFORM_MANIFEST_BINARY_ID) More...

#include <MsManifestBinaryID.hpp>

Inheritance diagram for LIEF::PE::MsManifestBinaryID:
Collaboration diagram for LIEF::PE::MsManifestBinaryID:

Public Member Functions

 MsManifestBinaryID ()=delete
 
 MsManifestBinaryID (std::string binid)
 
 MsManifestBinaryID (const MsManifestBinaryID &)=default
 
MsManifestBinaryIDoperator= (const MsManifestBinaryID &)=default
 
std::string print () const override
 Print information about the attribute.
 
const std::string & manifest_id () const
 The manifest id as a string.
 
void manifest_id (const std::string &id)
 
std::unique_ptr< Attributeclone () const override
 
void accept (Visitor &visitor) const override
 
virtual ~MsManifestBinaryID ()=default
 
- Public Member Functions inherited from LIEF::PE::Attribute
 Attribute ()=delete
 
 Attribute (const Attribute &)=default
 
Attributeoperator= (const Attribute &)=default
 
virtual TYPE type () const
 Concrete type of the attribute.
 
 ~Attribute () override=default
 
template<class T >
const T * cast () const
 
template<class T >
T * cast ()
 
- 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 Attribute *attr)
 

Additional Inherited Members

- Public Types inherited from LIEF::PE::Attribute
enum class  TYPE {
  UNKNOWN = 0 , CONTENT_TYPE , GENERIC_TYPE , SIGNING_CERTIFICATE_V2 ,
  SPC_SP_OPUS_INFO , SPC_RELAXED_PE_MARKER_CHECK , MS_COUNTER_SIGN , MS_SPC_NESTED_SIGN ,
  MS_SPC_STATEMENT_TYPE , MS_PLATFORM_MANIFEST_BINARY_ID , PKCS9_AT_SEQUENCE_NUMBER , PKCS9_COUNTER_SIGNATURE ,
  PKCS9_MESSAGE_DIGEST , PKCS9_SIGNING_TIME
}
 
- 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>>>
 

Detailed Description

Interface over the structure described by the OID 1.3.6.1.4.1.311.10.3.28 (szOID_PLATFORM_MANIFEST_BINARY_ID)

The internal structure is not documented but we can infer the following structure:

szOID_PLATFORM_MANIFEST_BINARY_ID ::= SET OF BinaryID

BinaryID being an alias of UTF8STRING

Constructor & Destructor Documentation

◆ MsManifestBinaryID() [1/3]

LIEF::PE::MsManifestBinaryID::MsManifestBinaryID ( )
delete

◆ MsManifestBinaryID() [2/3]

LIEF::PE::MsManifestBinaryID::MsManifestBinaryID ( std::string binid)
inline

◆ MsManifestBinaryID() [3/3]

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

◆ ~MsManifestBinaryID()

virtual LIEF::PE::MsManifestBinaryID::~MsManifestBinaryID ( )
virtualdefault

Member Function Documentation

◆ accept()

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

Reimplemented from LIEF::PE::Attribute.

◆ classof()

static bool LIEF::PE::MsManifestBinaryID::classof ( const Attribute * attr)
inlinestatic

◆ clone()

std::unique_ptr< Attribute > LIEF::PE::MsManifestBinaryID::clone ( ) const
inlineoverridevirtual

Implements LIEF::PE::Attribute.

◆ manifest_id() [1/2]

const std::string & LIEF::PE::MsManifestBinaryID::manifest_id ( ) const
inline

The manifest id as a string.

◆ manifest_id() [2/2]

void LIEF::PE::MsManifestBinaryID::manifest_id ( const std::string & id)
inline

◆ operator=()

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

◆ print()

std::string LIEF::PE::MsManifestBinaryID::print ( ) const
inlineoverridevirtual

Print information about the attribute.

Implements LIEF::PE::Attribute.


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