Reply To: Verify digital signature of an executable file

Home Forums Discussions General Verify digital signature of an executable file Reply To: Verify digital signature of an executable file

#6229
Vadim Smirnov
Keymaster

    I have never dig deep into file signing, but I’d guess that in case of notepad.exe the signature is not embedded into the executable, but the whole CAT file is signed instead.

    How could I determine what catalog file should be used for a specified file?

    I think you should use CryptCATXXX functions for this. Probably CryptCATAdminCalcHashFromFileHandle to get the file hash and then enumerate catalogs which contain the specified hash with CryptCATAdminEnumCatalogFromHash.