Go to the documentation of this file.
16#ifndef LIEF_PE_ATTRIBUTES_MS_SPC_STATEMENT_TYPE_H
17#define LIEF_PE_ATTRIBUTES_MS_SPC_STATEMENT_TYPE_H
37 friend class SignatureParser;
42 Attribute(Attribute::TYPE::MS_SPC_STATEMENT_TYPE),
47 MsSpcStatementType&
operator=(
const MsSpcStatementType&) =
default;
49 std::unique_ptr<Attribute>
clone()
const override {
50 return std::unique_ptr<Attribute>(
new MsSpcStatementType{*
this});
60 std::string
print()
const override;
64 static bool classof(
const Attribute* attr) {
65 return attr->
type() == Attribute::TYPE::MS_SPC_STATEMENT_TYPE;
68 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.2.1.11
Definition MsSpcStatementType.hpp:34
const oid_t & oid() const
According to the documentation:
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
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
std::string oid_t
Definition PE/signature/types.hpp:23
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41