16#ifndef LIEF_PE_ATTRIBUTES_PKCS9_COUNTER_SIG_H
17#define LIEF_PE_ATTRIBUTES_PKCS9_COUNTER_SIG_H
19#include "LIEF/visibility.h"
20#include "LIEF/PE/signature/Attribute.hpp"
21#include "LIEF/PE/signature/SignerInfo.hpp"
46 Attribute(Attribute::TYPE::PKCS9_COUNTER_SIGNATURE),
47 signer_{std::move(signer)}
53 std::unique_ptr<Attribute> clone()
const override {
63 std::string
print()
const override;
65 static bool classof(
const Attribute* attr) {
66 return attr->
type() == Attribute::TYPE::PKCS9_COUNTER_SIGNATURE;
69 void accept(
Visitor& visitor)
const override;
Interface over PKCS #7 attribute.
Definition Attribute.hpp:30
virtual TYPE type() const
Concrete type of the attribute.
Definition Attribute.hpp:60
Interface over the structure described by the OID 1.2.840.113549.1.9.6 (PKCS #9)
Definition PKCS9CounterSignature.hpp:38
std::string print() const override
Print information about the attribute.
const SignerInfo & signer() const
SignerInfo as described in the RFC #2985.
Definition PKCS9CounterSignature.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 SignerInfo.hpp:54
Definition Visitor.hpp:219
LIEF namespace.
Definition Abstract/Binary.hpp:32