如何查询根证书? [英] How to query the root certificate?
问题描述
我有一个文件。该文件与数字我们公司证书签名。此证书,有(被微软例如)副署。然而此证书也有一个证书路径,在顶部有一个根证书(如Symantec),根据那就是另一证书(如Symantec code签字),并根据该是我们公司的证书。
I have a file. This file is digitally signed with our companys certificate. This certificate, has a countersignature (for example by Microsoft ). However this certificate also has a Certification Path, where on the top there is a root certificate ( like Symantec ), under that is another certificate ( like Symantec code signing ), and under that is our companys certificate.
我发现这的链接,并改写它,这样我就可以查询我需要的一切。好几乎一切。结果
我无法弄清楚,我怎么能查询到的根证书的信息?它的名字,还是什么? Obviousley我失去了一些东西,但我不知道是什么。
I found This link, and rewrote it, so i can query everything i need. Well almost everything.
I couldn't figure out, how can i query the information about the root certificate? It's name, or something? Obviousley I am missing something, but i don't know what.
有人能帮帮我吗?
在此先感谢!
推荐答案
有CryptoAPI函数建立证书信任。
There are cryptoAPI functions to establish certificate trust.
我建议你通过以下链接了解的基础知识。
I recommend that you go through the following links to understand the basics.
参考
<一个href=\"http://msdn.microsoft.com/en-us/library/aa380252%28v=VS.85%29.aspx#certificate_chain_verification_functions\"相对=nofollow>证书链验证功能
<一个href=\"http://etutorials.org/Programming/secure+programming/Chapter+10.+Public+Key+Infrastructure/10.6+Performing+X.509+Certificate+Verification+with+CryptoAPI/\"相对=nofollow>执行X.509证书验证与CryptoAPI的
这篇关于如何查询根证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!