16#ifndef LIEF_PE_ATTRIBUTES_PKCS9_AT_SEQUENCE_NUMBER_H
17#define LIEF_PE_ATTRIBUTES_PKCS9_AT_SEQUENCE_NUMBER_H
58 std::unique_ptr<Attribute>
clone()
const override {
68 std::string
print()
const override;
71 return attr->
type() == Attribute::TYPE::PKCS9_AT_SEQUENCE_NUMBER;
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.2.840.113549.1.9.25.4 (PKCS #9)
Definition PKCS9AtSequenceNumber.hpp:43
uint32_t number() const
Number as described in the RFC.
Definition PKCS9AtSequenceNumber.hpp:63
static bool classof(const Attribute *attr)
Definition PKCS9AtSequenceNumber.hpp:70
~PKCS9AtSequenceNumber() override=default
PKCS9AtSequenceNumber()=delete
PKCS9AtSequenceNumber(const PKCS9AtSequenceNumber &)=default
void accept(Visitor &visitor) const override
PKCS9AtSequenceNumber & operator=(const PKCS9AtSequenceNumber &)=default
PKCS9AtSequenceNumber(uint32_t num)
Definition PKCS9AtSequenceNumber.hpp:50
std::string print() const override
Print information about the attribute.
std::unique_ptr< Attribute > clone() const override
Definition PKCS9AtSequenceNumber.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
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41