LIEF: Library to Instrument Executable Formats Version 0.16.0
|
This class exposes the MS Counter Signature attribute. More...
#include <MsCounterSign.hpp>
Public Types | |
using | certificates_t = std::vector<x509> |
using | it_const_certificates = const_ref_iterator<const certificates_t&> |
using | it_certificates = ref_iterator<certificates_t&> |
using | signers_t = std::vector<SignerInfo> |
using | it_const_signers = const_ref_iterator<const signers_t&> |
using | it_signers = ref_iterator<signers_t&> |
![]() | |
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 } |
![]() | |
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 | |
MsCounterSign () | |
MsCounterSign (const MsCounterSign &)=default | |
MsCounterSign & | operator= (const MsCounterSign &)=default |
std::unique_ptr< Attribute > | clone () const override |
uint32_t | version () const |
it_const_certificates | certificates () const |
Iterator over the LIEF::PE::x509 certificates of this counter signature. | |
it_certificates | certificates () |
it_const_signers | signers () const |
Signer iterator (same as LIEF::PE::SignerInfo) | |
it_signers | signers () |
ALGORITHMS | digest_algorithm () const |
const ContentInfo & | content_info () const |
std::string | print () const override |
Print information about the underlying attribute. | |
void | accept (Visitor &visitor) const override |
~MsCounterSign () override=default | |
![]() | |
Attribute ()=delete | |
Attribute (const Attribute &)=default | |
Attribute & | operator= (const Attribute &)=default |
virtual TYPE | type () const |
Concrete type of the attribute. | |
~Attribute () override=default | |
![]() | |
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 () |
Static Public Member Functions | |
static bool | classof (const Attribute *attr) |
This class exposes the MS Counter Signature attribute.
using LIEF::PE::MsCounterSign::certificates_t = std::vector<x509> |
using LIEF::PE::MsCounterSign::it_const_signers = const_ref_iterator<const signers_t&> |
using LIEF::PE::MsCounterSign::signers_t = std::vector<SignerInfo> |
|
inline |
|
default |
|
overridedefault |
|
overridevirtual |
Reimplemented from LIEF::PE::Attribute.
|
inline |
|
inline |
Iterator over the LIEF::PE::x509 certificates of this counter signature.
|
inlinestatic |
References LIEF::PE::Attribute::type().
|
inlineoverridevirtual |
Implements LIEF::PE::Attribute.
|
inline |
|
inline |
|
default |
|
overridevirtual |
Print information about the underlying attribute.
Implements LIEF::PE::Attribute.
|
inline |
|
inline |
Signer iterator (same as LIEF::PE::SignerInfo)
|
inline |