pub fn parse_pe(
    _token: &InitializationToken,
    data: &[u8]
) -> Option<AuthenticodeArray>
Expand description

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.