vcsjones / AuthenticodeLint

Lints an authenticode signed binary.
MIT License
37 stars 18 forks source link

Unify signatures #22

Closed vcsjones closed 8 years ago

vcsjones commented 8 years ago

This unifies signatures and timestamps into a common signature type.

As a result, the signature graph concept has changed quite a bit. The Graph<> type is now gone and the signatures themselves now allow querying nested signatures. For convenience, extension methods were added to walk the tree similar to how graphs were done.

This also allowed implementation of getting the certificate of counter signatures. This will unblock any checks that want to examine the certificate of counter signatures.

Finally, a unified signature type makes for vastly easier to understand code.