16#ifndef LIEF_PE_ATTRIBUTES_PKCS9_COUNTER_SIG_H
17#define LIEF_PE_ATTRIBUTES_PKCS9_COUNTER_SIG_H
47 signer_{std::move(signer)}
53 std::unique_ptr<Attribute>
clone()
const override {
63 std::string
print()
const override;
66 return attr->
type() == Attribute::TYPE::PKCS9_COUNTER_SIGNATURE;
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.6 (PKCS #9)
Definition PKCS9CounterSignature.hpp:38
PKCS9CounterSignature(SignerInfo signer)
Definition PKCS9CounterSignature.hpp:45
static bool classof(const Attribute *attr)
Definition PKCS9CounterSignature.hpp:65
std::string print() const override
Print information about the attribute.
PKCS9CounterSignature()=delete
void accept(Visitor &visitor) const override
~PKCS9CounterSignature() override=default
std::unique_ptr< Attribute > clone() const override
Definition PKCS9CounterSignature.hpp:53
PKCS9CounterSignature(const PKCS9CounterSignature &)=default
const SignerInfo & signer() const
SignerInfo as described in the RFC #2985.
Definition PKCS9CounterSignature.hpp:58
PKCS9CounterSignature & operator=(const PKCS9CounterSignature &)=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 SignerInfo.hpp:54
Definition Visitor.hpp:224
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41