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

Interface over the structure described by the OID 1.3.6.1.4.1.311.2.1.12 More...

#include <SpcSpOpusInfo.hpp>

Inheritance diagram for LIEF::PE::SpcSpOpusInfo:
Inheritance graph
[legend]
Collaboration diagram for LIEF::PE::SpcSpOpusInfo:
Collaboration graph
[legend]

Public Member Functions

 SpcSpOpusInfo (std::string program_name, std::string more_info)
 
 SpcSpOpusInfo (const SpcSpOpusInfo &)=default
 
SpcSpOpusInfooperator= (const SpcSpOpusInfo &)=default
 
std::unique_ptr< Attributeclone () const override
 
const std::string & program_name () const
 Program description provided by the publisher.
 
const std::string & more_info () const
 Other information such as an url.
 
std::string print () const override
 Print information about the attribute.
 
void accept (Visitor &visitor) const override
 
- Public Member Functions inherited from LIEF::PE::Attribute
 Attribute (const Attribute &)=default
 
Attributeoperator= (const Attribute &)=default
 
virtual TYPE type () const
 Concrete type of the attribute.
 
- Public Member Functions inherited from LIEF::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
 

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 , SPC_SP_OPUS_INFO ,
  MS_COUNTER_SIGN , MS_SPC_NESTED_SIGN , MS_SPC_STATEMENT_TYPE , 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.2.1.12

The internal structure is described in the official document: Windows Authenticode Portable Executable Signature Format

SpcSpOpusInfo ::= SEQUENCE {
programName [0] EXPLICIT SpcString OPTIONAL,
moreInfo [1] EXPLICIT SpcLink OPTIONAL
}

Member Function Documentation

◆ accept()

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

Reimplemented from LIEF::PE::Attribute.

◆ clone()

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

Implements LIEF::PE::Attribute.

◆ print()

std::string LIEF::PE::SpcSpOpusInfo::print ( ) const
overridevirtual

Print information about the attribute.

Implements LIEF::PE::Attribute.


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