如何在MFC中验证EXE文件的数字签名 [英] How to Verify Digital Signature of an EXE File in MFC

查看:386
本文介绍了如何在MFC中验证EXE文件的数字签名的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

嘿朋友

是否可以使用MFC验证exe文件的数字签名?

关于

Hey Friends

Is it possible to verify digital signature of an exe file using MFC ?

Regards

推荐答案

验证数字签名通常涉及使用哈希函数(MD5/SHA等).例如,许多linux软件包下载都包含用于验证的MD5哈希.因此,您实际上只需要一种将文件读入缓冲区并计算哈希的方法.请参见 CHash 1.5-MFC哈希类 [
Verifying a digital signature usually involves the use of a hashing function (MD5 / SHA / etc.). For example, a lot of linux package downloads include an MD5 hash for verification. So, you really just need a means of reading the file into a buffer and calculating the hash. See CHash 1.5 - An MFC hashing class[^]


这篇关于如何在MFC中验证EXE文件的数字签名的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

查看全文
登录 关闭
扫码关注1秒登录
发送“验证码”获取 | 15天全站免登陆