LIEF: Library to Instrument Executable Formats Version 0.17.0
|
Interface over PKCS #7 attribute. More...
#include <Attribute.hpp>
Public Types | |
enum class | TYPE { UNKNOWN = 0 , CONTENT_TYPE , GENERIC_TYPE , SIGNING_CERTIFICATE_V2 , SPC_SP_OPUS_INFO , SPC_RELAXED_PE_MARKER_CHECK , MS_COUNTER_SIGN , MS_SPC_NESTED_SIGN , MS_SPC_STATEMENT_TYPE , MS_PLATFORM_MANIFEST_BINARY_ID , PKCS9_AT_SEQUENCE_NUMBER , PKCS9_COUNTER_SIGNATURE , PKCS9_MESSAGE_DIGEST , PKCS9_SIGNING_TIME } |
Public Types inherited from LIEF::Object | |
template<class T > | |
using | output_t = add_pointer_t<decay_t<T>> |
template<class T > | |
using | output_const_t = add_pointer_t<add_const_t<decay_t<T>>> |
Public Member Functions | |
Attribute ()=delete | |
Attribute (const Attribute &)=default | |
Attribute & | operator= (const Attribute &)=default |
virtual std::unique_ptr< Attribute > | clone () const =0 |
virtual TYPE | type () const |
Concrete type of the attribute. | |
virtual std::string | print () const =0 |
Print information about the underlying attribute. | |
void | accept (Visitor &visitor) const override |
~Attribute () override=default | |
template<class T > | |
const T * | cast () const |
template<class T > | |
T * | cast () |
Public Member Functions inherited from LIEF::Object | |
Object () | |
Object (const Object &other) | |
Object & | operator= (const Object &other) |
template<class T > | |
output_t< T > | as () |
template<class T > | |
output_const_t< T > | as () const |
virtual bool | operator== (const Object &other) const |
virtual bool | operator!= (const Object &other) const |
virtual | ~Object () |
Interface over PKCS #7 attribute.
|
strong |
|
delete |
|
default |
|
overridedefault |
|
overridevirtual |
Implements LIEF::Object.
Reimplemented in LIEF::PE::ContentType, LIEF::PE::GenericType, LIEF::PE::MsCounterSign, LIEF::PE::MsManifestBinaryID, LIEF::PE::MsSpcNestedSignature, LIEF::PE::MsSpcStatementType, LIEF::PE::PKCS9AtSequenceNumber, LIEF::PE::PKCS9CounterSignature, LIEF::PE::PKCS9MessageDigest, LIEF::PE::PKCS9SigningTime, LIEF::PE::SigningCertificateV2, LIEF::PE::SpcRelaxedPeMarkerCheck, and LIEF::PE::SpcSpOpusInfo.
|
inline |
|
inline |
|
pure virtual |
Implemented in LIEF::PE::ContentType, LIEF::PE::GenericType, LIEF::PE::MsCounterSign, LIEF::PE::MsManifestBinaryID, LIEF::PE::MsSpcNestedSignature, LIEF::PE::MsSpcStatementType, LIEF::PE::PKCS9AtSequenceNumber, LIEF::PE::PKCS9CounterSignature, LIEF::PE::PKCS9MessageDigest, LIEF::PE::PKCS9SigningTime, LIEF::PE::SigningCertificateV2, LIEF::PE::SpcRelaxedPeMarkerCheck, and LIEF::PE::SpcSpOpusInfo.
|
pure virtual |
Print information about the underlying attribute.
Implemented in LIEF::PE::ContentType, LIEF::PE::GenericType, LIEF::PE::MsCounterSign, LIEF::PE::MsManifestBinaryID, LIEF::PE::MsSpcNestedSignature, LIEF::PE::MsSpcStatementType, LIEF::PE::PKCS9AtSequenceNumber, LIEF::PE::PKCS9CounterSignature, LIEF::PE::PKCS9MessageDigest, LIEF::PE::PKCS9SigningTime, LIEF::PE::SigningCertificateV2, LIEF::PE::SpcRelaxedPeMarkerCheck, and LIEF::PE::SpcSpOpusInfo.
Referenced by operator<<.
|
inlinevirtual |
Concrete type of the attribute.
Referenced by LIEF::PE::ContentType::classof(), LIEF::PE::GenericType::classof(), LIEF::PE::MsCounterSign::classof(), LIEF::PE::MsManifestBinaryID::classof(), LIEF::PE::MsSpcNestedSignature::classof(), LIEF::PE::MsSpcStatementType::classof(), LIEF::PE::PKCS9AtSequenceNumber::classof(), LIEF::PE::PKCS9CounterSignature::classof(), LIEF::PE::PKCS9MessageDigest::classof(), LIEF::PE::PKCS9SigningTime::classof(), LIEF::PE::SigningCertificateV2::classof(), LIEF::PE::SpcRelaxedPeMarkerCheck::classof(), and LIEF::PE::SpcSpOpusInfo::classof().