gpt4 book ai didi

c++ - 以编程方式验证已签名的 dll 的 C++

转载 作者:太空狗 更新时间:2023-10-29 20:28:49 24 4
gpt4 key购买 nike

我有一个已签名的 dll,想在使用前验证其签名。我的应用程序是用 C++ 编写的。如何以编程方式获取 dll 的签名?

最佳答案

您可以使用 WinVerifyTrust function .
Dll 和PE 几乎相同,只是头部有2 到3 个字节的差异。
完整的代码示例是 here (也适用于 dll)。

关于c++ - 以编程方式验证已签名的 dll 的 C++,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/12128280/

24 4 0
Copyright 2021 - 2024 cfsdn All Rights Reserved 蜀ICP备2022000587号
广告合作:1813099741@qq.com 6ren.com