摘要: 转换 1 public static string XmlPublicKeyToPem(string xmlPublicKey) 2 { 3 RSAParameters rsaParam; 4 using (RSACryptoServiceProvider rsa = new RSACryptoSe 阅读全文
posted @ 2022-05-18 19:12 流年sugar 阅读(549) 评论(0) 推荐(0)
摘要: 获取密钥并存储至密钥容器 1 /// <summary> 2 /// 生成密钥 3 /// </summary> 4 public static RSAKey GenerateRSAKey() 5 { 6 RSAKey RSAKEY = new RSAKey(); 7 //密钥存储容器 8 CspP 阅读全文
posted @ 2022-05-18 12:01 流年sugar 阅读(6086) 评论(0) 推荐(0)