Read and validate certificate from executable

后端 未结 3 1044
鱼传尺愫
鱼传尺愫 2020-12-24 14:55

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

3条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-24 15:42

    @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()

提交回复
热议问题