如何验证X509证书?证书

由网友(华灯初上)分享简介:我必须写这验证,如果一个X509证书是否有效(输入=证书路径/主题和密码)的工具。我该怎么办呢?我不知道很多关于证书... I have to write a tool which validates if a X509 certificate is valid or not (input = cert path /...

我必须写这验证,如果一个X509证书是否有效(输入=证书路径/主题和密码)的工具。我该怎么办呢?我不知道很多关于证书...

I have to write a tool which validates if a X509 certificate is valid or not (input = cert path / subject and password). How can I do that? I don't know much about certs...

推荐答案

看看 X509Certificate2.Verify(): http://msdn.microsoft.com/en-us/library/system.security.cryptography.x509certificates.x509certificate2.verify.aspx

阅读全文

相关推荐

最新文章