17#ifndef LIEF_PE_ATTRIBUTES_SPC_SP_OPUS_INFO_H
18#define LIEF_PE_ATTRIBUTES_SPC_SP_OPUS_INFO_H
21#include "LIEF/visibility.h"
22#include "LIEF/PE/signature/Attribute.hpp"
46 SpcSpOpusInfo(std::string program_name, std::string more_info) :
47 Attribute(Attribute::TYPE::SPC_SP_OPUS_INFO),
48 program_name_(std::move(program_name)),
49 more_info_(std::move(more_info))
59 std::unique_ptr<Attribute> clone()
const override {
74 std::string
print()
const override;
76 static bool classof(
const Attribute* attr) {
77 return attr->
type() == Attribute::TYPE::SPC_SP_OPUS_INFO;
80 void accept(
Visitor& visitor)
const override;
85 std::string program_name_;
86 std::string more_info_;
Interface over PKCS #7 attribute.
Definition Attribute.hpp:28
virtual TYPE type() const
Concrete type of the attribute.
Definition Attribute.hpp:58
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
Interface over the structure described by the OID 1.3.6.1.4.1.311.2.1.12
Definition SpcSpOpusInfo.hpp:40
const std::string & program_name() const
Program description provided by the publisher.
Definition SpcSpOpusInfo.hpp:64
std::string print() const override
Print information about the attribute.
const std::string & more_info() const
Other information such as an url.
Definition SpcSpOpusInfo.hpp:69
Definition Visitor.hpp:221
LIEF namespace.
Definition Abstract/Binary.hpp:31