LIEF: Library to Instrument Executable Formats Version 0.16.0
|
Loading...
Searching...
No Matches
Go to the documentation of this file.
17#ifndef LIEF_PE_ATTRIBUTES_MS_MANIFEST_BINARY_ID_H
18#define LIEF_PE_ATTRIBUTES_MS_MANIFEST_BINARY_ID_H
38 friend class SignatureParser;
43 Attribute(Attribute::TYPE::MS_PLATFORM_MANIFEST_BINARY_ID),
48 MsManifestBinaryID&
operator=(
const MsManifestBinaryID&) =
default;
49 std::string
print()
const override {
64 std::unique_ptr<Attribute>
clone()
const override {
65 return std::unique_ptr<Attribute>(
new MsManifestBinaryID{*
this});
68 static bool classof(
const Attribute* attr) {
69 return attr->
type() == Attribute::TYPE::MS_PLATFORM_MANIFEST_BINARY_ID;
72 void accept(Visitor& visitor)
const override;
Interface over PKCS #7 attribute.
Definition PE/signature/Attribute.hpp:29
virtual TYPE type() const
Concrete type of the attribute.
Definition PE/signature/Attribute.hpp:62
Interface over the structure described by the OID 1.3.6.1.4.1.311.10.3.28 (szOID_PLATFORM_MANIFEST_BI...
Definition MsManifestBinaryID.hpp:35
std::unique_ptr< Attribute > clone() const override
Definition MsManifestBinaryID.hpp:64
const std::string & manifest_id() const
The manifest id as a string.
Definition MsManifestBinaryID.hpp:56
MsManifestBinaryID(std::string binid)
Definition MsManifestBinaryID.hpp:42
void manifest_id(const std::string &id)
Definition MsManifestBinaryID.hpp:60
virtual ~MsManifestBinaryID()=default
std::string print() const override
Print information about the attribute.
Definition MsManifestBinaryID.hpp:51
MsManifestBinaryID & operator=(const MsManifestBinaryID &)=default
MsManifestBinaryID(const MsManifestBinaryID &)=default
static bool classof(const Attribute *attr)
Definition MsManifestBinaryID.hpp:68
void accept(Visitor &visitor) const override
MsManifestBinaryID()=delete
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41