I want to validate certificates of signed executable images (by validation, I mean to tell if the signature comes from MS/Adobe/Oracle etc.). Does windows provides api for t
@Davita I read the above problem thoroughly and tried to solve it.
My suggestion is to try CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED instead of CERT_QUERY_CONTENT_FLAG_ALL in the third parameter of CryptQueryObject()
CERT_QUERY_CONTENT_FLAG_PKCS7_SIGNED
CERT_QUERY_CONTENT_FLAG_ALL
CryptQueryObject()