C ++安装数字证书 [英] C++ install digital certificate

查看:79
本文介绍了C ++安装数字证书的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

关于安全性,我需要签署一个xap文件并在受信任的根证书颁发机构和Trusted Publisher证书存储中安装相关的.Cer文件。我希望它自动执行,所以我打算

用一段用C ++编写的代码来实现它,但不幸的是我没有在互联网上找到任何有用的东西。

有人可以帮我吗? thx很多

for something about security,i need sign a xap file and install the relevant .Cer file in the Trusted Root Certification Authorities and Trusted Publisher certificate store.I want it perform automatically,so i intend to
achieve it by a piece of codes written in C++,but unfortunately i did not found anything helpful in the internet.
could anyone help me? thx a lot

推荐答案

在msdn中有一个解决方案,使用apis CertOpenStore()......

http://msdn.microsoft.com/en-us/library/aa382368%28v=vs。 85%29.aspx [ ^ ]
there is a solution in msdn ,using the apis CertOpenStore()...
http://msdn.microsoft.com/en-us/library/aa382368%28v=vs.85%29.aspx[^]


这篇关于C ++安装数字证书的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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