Hi there,
I'm not sure whether this is the right group to post this query to, but if
not, any pointers to the relevant resources would be helpful :)
What I'm attempting to do is write an installer that will i) download a
CAB/DLL from the internet, ii) verify its digital signature, and iii) check
the name of the signer. Only if our company is the signer will the CAB/DLL
be installed on the user's machine.
I have managed i) with WinInet*() and ii) with WinVerifyTrust(), but I am at
a loss as to how to achieve iii). Can anyone suggest a method that would
allow me to do this? It must be possible since IE displays the name of the
signer when you download an ActiveX from the internet, but I'm stuggling to
find an API function to extract this information from a PE/DLL/CAB file.
Thanks in advance for your help,
Mark.