16#ifndef LIEF_PE_ATTRIBUTES_MS_SPC_STATEMENT_TYPE_H
17#define LIEF_PE_ATTRIBUTES_MS_SPC_STATEMENT_TYPE_H
49 std::unique_ptr<Attribute>
clone()
const override {
62 std::string
print()
const override;
65 return attr->
type() == Attribute::TYPE::MS_SPC_STATEMENT_TYPE;
Interface over PKCS #7 attribute.
Definition PE/signature/Attribute.hpp:28
TYPE
Definition PE/signature/Attribute.hpp:34
virtual TYPE type() const
Concrete type of the attribute.
Definition PE/signature/Attribute.hpp:61
Interface over the structure described by the OID 1.3.6.1.4.1.311.2.1.11
Definition MsSpcStatementType.hpp:34
const oid_t & oid() const
According to the documentation: The SpcStatementType MUST contain one Object Identifier with either ...
Definition MsSpcStatementType.hpp:57
MsSpcStatementType()=delete
std::unique_ptr< Attribute > clone() const override
Definition MsSpcStatementType.hpp:49
MsSpcStatementType(const MsSpcStatementType &)=default
MsSpcStatementType & operator=(const MsSpcStatementType &)=default
void accept(Visitor &visitor) const override
std::string print() const override
Print information about the attribute.
MsSpcStatementType(oid_t oid)
Definition MsSpcStatementType.hpp:41
static bool classof(const Attribute *attr)
Definition MsSpcStatementType.hpp:64
~MsSpcStatementType() override=default
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:224
std::string oid_t
Definition PE/signature/types.hpp:23
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41