WinVerifyTrust to check for a specific signature?
I believe what you’re looking for is CryptQueryObject. With it you should be able to pull the involved certificate out of a PE, and do any additional checks you want. By way of example, this will get you to a HCRYPTMSG. From there you can use CryptMsgGetParam to pull out whatever you want. I’d hoped … Read more