如何验证Windows中的可执行文件是否由EV证书签名。

huangapple go评论74阅读模式
英文:

how to verify if an executable is signed by EV certificate in Windows

问题

我可以验证可执行文件的签名,现在我想检查签名证书是否为EV(扩展验证)证书,我该如何做呢?

英文:

With WinVerifyTrust(https://learn.microsoft.com/en-us/windows/win32/api/wintrust/nf-wintrust-winverifytrust) I am able to verify executable signature, now I want to check if signing certificate is EV (Extended Validation) certificate, how can I do it?

答案1

得分: -1

CertVerifyCertificateChainPolicy能够正常工作,感谢Jeaninez

英文:

CertVerifyCertificateChainPolicy works, credits to Jeaninez.

huangapple
  • 本文由 发表于 2023年7月20日 19:24:06
  • 转载请务必保留本文链接:https://go.coder-hub.com/76729358.html
匿名

发表评论

匿名网友

:?: :razz: :sad: :evil: :!: :smile: :oops: :grin: :eek: :shock: :???: :cool: :lol: :mad: :twisted: :roll: :wink: :idea: :arrow: :neutral: :cry: :mrgreen:

确定