Go to the documentation of this file.
16#ifndef LIEF_PE_ATTRIBUTES_SIGNING_CERTIFICATE_V2_H
17#define LIEF_PE_ATTRIBUTES_SIGNING_CERTIFICATE_V2_H
46 friend class SignatureParser;
50 Attribute(Attribute::TYPE::SIGNING_CERTIFICATE_V2)
53 SigningCertificateV2&
operator=(
const SigningCertificateV2&) =
default;
55 std::unique_ptr<Attribute>
clone()
const override {
56 return std::unique_ptr<Attribute>(
new SigningCertificateV2{*
this});
59 static bool classof(
const Attribute* attr) {
60 return attr->
type() == Attribute::TYPE::SIGNING_CERTIFICATE_V2;
63 std::string
print()
const override;
65 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
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
Namespace related to the LIEF's PE module.
Definition Abstract/Header.hpp:32
LIEF namespace.
Definition Abstract/Binary.hpp:36
#define LIEF_API
Definition visibility.h:41