2011年6月15日

验证证书和安装证书

摘要: protected void Page_Load(object sender, EventArgs e) { if (!isExsitCertificate(StoreLocation.CurrentUser, StoreName.Root, X509FindType.FindByIssuerName, "CN=颁发者名称")) { //从证书文件载入证书,如果含有私钥的,需要提供保存证书时设置的密码 string path = Server.MapPath(@"") + "\\scriptx\\Root.cer"; X509Cert 阅读全文

posted @ 2011-06-15 18:00 Y# 阅读(379) 评论(1) 推荐(0) 编辑

导航