Module bindings

Source

Structs§

Attributes
Authenticode
AuthenticodeArray
ByteArray
Certificate
CertificateArray
Countersignature
CountersignatureArray
Signer

Functions§

authenticode_array_free
@brief Deallocates AuthenticodeArray and all it’s allocated members
authenticode_new
@brief Constructs AuthenticodeArray from binary data containing Authenticode signature. Authenticode can contains nested Authenticode signatures as its unsigned attribute, which can also contain nested signatures. For this reason the function return an Array of parsed Authenticode signatures. Any field of the parsed out structures can be NULL, depending on the input data. WARNING: in case of this interface, the file and signature digest comparison is up to the library user, as there is no pe data to calculate file digest from. Verification result is stored in verify_flags with the first verification error
initialize_authenticode_parser
@brief Initializes all globals OpenSSl objects we need for parsing, this is not thread-safe and needs to be called only once, before any multithreading environment https://github.com/openssl/openssl/issues/13524
parse_authenticode
@brief Constructs AuthenticodeArray from PE file data. Authenticode can contains nested Authenticode signatures as its unsigned attribute, which can also contain nested signatures. For this reason the function returns an Array of parsed Authenticode signatures. Any field of the parsed out structures can be NULL, depending on the input data. Verification result is stored in verify_flags with the first verification error.