16#ifndef LIEF_PE_ATTRIBUTES_SIGNING_CERTIFICATE_V2_H
17#define LIEF_PE_ATTRIBUTES_SIGNING_CERTIFICATE_V2_H
55 std::unique_ptr<Attribute>
clone()
const override {
60 return attr->
type() == Attribute::TYPE::SIGNING_CERTIFICATE_V2;
63 std::string
print()
const override;
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
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
SigningCertificateV2 ::= SEQUENCE { certs SEQUENCE OF ESSCertIDv2, policies SEQUENCE OF PolicyInforma...
Definition SigningCertificateV2.hpp:44
SigningCertificateV2 & operator=(const SigningCertificateV2 &)=default
SigningCertificateV2()
Definition SigningCertificateV2.hpp:49
std::unique_ptr< Attribute > clone() const override
Definition SigningCertificateV2.hpp:55
void accept(Visitor &visitor) const override
std::string print() const override
Print information about the underlying attribute.
SigningCertificateV2(const SigningCertificateV2 &)=default
~SigningCertificateV2() override=default
static bool classof(const Attribute *attr)
Definition SigningCertificateV2.hpp:59
Definition Visitor.hpp:225
LIEF namespace.
Definition Abstract/Binary.hpp:32
#define LIEF_API
Definition visibility.h:41