runliuv

runliuv@cnblogs

  博客园 :: 首页 :: 博问 :: 闪存 :: 新随笔 :: 联系 :: 订阅 订阅 :: 管理 ::

2021年1月20日

摘要: using System.Security.Cryptography.X509Certificates; namespace CommonUtils { public class CertUtil { /// <summary> /// 使用证书commonName来查找。(也可以用指纹或序列号来找 阅读全文
posted @ 2021-01-20 10:44 runliuv 阅读(423) 评论(0) 推荐(0)

摘要: public static bool CheckValidationResult(object sender, X509Certificate certificate, X509Chain chain, SslPolicyErrors errors) { #region 自签名证书,跳过 if (! 阅读全文
posted @ 2021-01-20 10:42 runliuv 阅读(750) 评论(0) 推荐(0)