Go to the documentation of this file.
16#ifndef LIEF_PE_PKCS9_TSTINFO_H
17#define LIEF_PE_PKCS9_TSTINFO_H
60 friend class SignatureParser;
63 static constexpr auto PKCS9_TSTINFO_OBJID =
"1.2.840.113549.1.9.16.1.4";
65 ContentInfo::Content(PKCS9_TSTINFO_OBJID)
68 PKCS9TSTInfo&
operator=(
const PKCS9TSTInfo&) =
default;
70 std::unique_ptr<Content>
clone()
const override {
71 return std::unique_ptr<Content>(
new PKCS9TSTInfo{*
this});
74 void print(std::ostream& )
const override {
78 void accept(Visitor& visitor)
const override;
82 static bool classof(
const ContentInfo::Content* content) {
Definition ContentInfo.hpp:83
const oid_t & content_type() const
Definition ContentInfo.hpp:89
Interface over the structure described by the OID 1.2.840.113549.1.9.16.1.4 (PKCS #9)
Definition PKCS9TSTInfo.hpp:59
void print(std::ostream &) const override
Definition PKCS9TSTInfo.hpp:74
static bool classof(const ContentInfo::Content *content)
Definition PKCS9TSTInfo.hpp:82
PKCS9TSTInfo & operator=(const PKCS9TSTInfo &)=default
void accept(Visitor &visitor) const override
PKCS9TSTInfo()
Definition PKCS9TSTInfo.hpp:64
std::unique_ptr< Content > clone() const override
Definition PKCS9TSTInfo.hpp:70
~PKCS9TSTInfo() override=default
PKCS9TSTInfo(const PKCS9TSTInfo &)=default
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