16#ifndef LIEF_PE_ATTRIBUTES_H
17#define LIEF_PE_ATTRIBUTES_H
38 SIGNING_CERTIFICATE_V2,
41 SPC_RELAXED_PE_MARKER_CHECK,
45 MS_SPC_STATEMENT_TYPE,
46 MS_PLATFORM_MANIFEST_BINARY_ID,
48 PKCS9_AT_SEQUENCE_NUMBER,
49 PKCS9_COUNTER_SIGNATURE,
58 virtual std::unique_ptr<Attribute>
clone()
const = 0;
66 virtual std::string
print()
const = 0;
78 TYPE type_ = TYPE::UNKNOWN;
Interface over PKCS #7 attribute.
Definition PE/signature/Attribute.hpp:28
~Attribute() override=default
friend std::ostream & operator<<(std::ostream &os, const Attribute &Attribute)
virtual std::unique_ptr< Attribute > clone() const =0
Attribute(const Attribute &)=default
TYPE
Definition PE/signature/Attribute.hpp:34
virtual TYPE type() const
Concrete type of the attribute.
Definition PE/signature/Attribute.hpp:61
Attribute & operator=(const Attribute &)=default
void accept(Visitor &visitor) const override
virtual std::string print() const =0
Print information about the underlying attribute.
Main interface to parse PE binaries. In particular the static functions: Parser::parse should be used...
Definition PE/Parser.hpp:47
Definition SignatureParser.hpp:37
Definition Visitor.hpp:225
const char * to_string(DataDirectory::TYPES e)
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41