LIEF: Library to Instrument Executable Formats Version 0.15.1
|
Interface over the structure described by the OID 1.2.840.113549.1.9.5
(PKCS #9)
More...
#include <PKCS9SigningTime.hpp>
Public Types | |
using | time_t = std::array<int32_t, 6> |
Time as an array [year, month, day, hour, min, sec]. | |
Public Types inherited from LIEF::PE::Attribute | |
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 | |
PKCS9SigningTime ()=delete | |
PKCS9SigningTime (time_t time) | |
PKCS9SigningTime (const PKCS9SigningTime &)=default | |
PKCS9SigningTime & | operator= (const PKCS9SigningTime &)=default |
const time_t & | time () const |
Time as an array [year, month, day, hour, min, sec]. | |
std::string | print () const override |
Print information about the attribute. | |
std::unique_ptr< Attribute > | clone () const override |
void | accept (Visitor &visitor) const override |
~PKCS9SigningTime () override=default | |
Public Member Functions inherited from LIEF::PE::Attribute | |
Attribute ()=delete | |
Attribute (const Attribute &)=default | |
Attribute & | operator= (const Attribute &)=default |
virtual TYPE | type () const |
Concrete type of the attribute. | |
~Attribute () override=default | |
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 () |
Static Public Member Functions | |
static bool | classof (const Attribute *attr) |
Interface over the structure described by the OID 1.2.840.113549.1.9.5
(PKCS #9)
The internal structure is described in the RFC #2985: PKCS #9 - Selected Object Classes and Attribute Types Version 2.0
using LIEF::PE::PKCS9SigningTime::time_t = std::array<int32_t, 6> |
Time as an array [year, month, day, hour, min, sec].
|
delete |
|
inline |
|
default |
|
overridedefault |
|
overridevirtual |
Reimplemented from LIEF::PE::Attribute.
|
inlinestatic |
References LIEF::PE::Attribute::type().
|
inlineoverridevirtual |
Implements LIEF::PE::Attribute.
|
default |
|
overridevirtual |
Print information about the attribute.
Implements LIEF::PE::Attribute.
|
inline |
Time as an array [year, month, day, hour, min, sec].