如何验证X509证书? [英] How to validate X509 certificate?

查看:175
本文介绍了如何验证X509证书?的处理方法,对大家解决问题具有一定的参考价值,需要的朋友们下面随着小编来一起学习吧!

问题描述

我必须编写一个工具来验证X509证书是否有效(输入= cert路径/主题和密码)。我该怎么办?我不太了解certs ...

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

这篇关于如何验证X509证书?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!

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