runliuv

runliuv@cnblogs

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

2023年7月6日

摘要: C#.NET Framework 使用BC库(BouncyCastle) RSA 公钥加密 私钥解密 ver:20230706 环境说明: .NET Framework 4.6 的控制台程序 。 2020年以后 ,有部分PKCS8私钥(openssl生成)无法用RsaUtil.LoadPrivate 阅读全文
posted @ 2023-07-06 10:30 runliuv 阅读(3426) 评论(2) 推荐(10) 编辑

摘要: C# .NET HttpWebRequest 显示指定SSL TLS 版本 (TLS1.0,TLS1.1,TLS1.2) 在程序启动时加入这段代码: ServicePointManager.SecurityProtocol = SecurityProtocolType.Ssl3 | Security 阅读全文
posted @ 2023-07-06 10:07 runliuv 阅读(1260) 评论(0) 推荐(0) 编辑