Quellcode durchsuchen

山东济宁-苏州亚科-银企直连 正式PUBLIC_KEY

dujj vor 2 Jahren
Ursprung
Commit
1df4856c88
1 geänderte Dateien mit 7 neuen und 6 gelöschten Zeilen
  1. 7 6
      AuthorizationSign/NewRsaHelper.cs

+ 7 - 6
AuthorizationSign/NewRsaHelper.cs

@@ -12,12 +12,13 @@ namespace AuthorizationSign
     {
         //public const string ASN_PUBLIC_KEY = @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCMivG439/MBZoeZlWDo5So0Y5lMcw7QOPkvNqtVMhuThVtlLKjmg5AdT2oZejAQojlq5kHEhhRSFAsALzEaRCLJmf+8JwmvIBg8n/Vr8z4ALyfsrpSrU/3J/USC+K2f8OAFutj7WD0H21xY8KcvTTQmJ+hy6VKb8C6Ma324vmxOwIDAQAB";
         //public const string ASN_PUBLIC_KEY = @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCZ82s9MOWq4J18jYs08ceUiyw/QOh4mdUdNz7Tv7IPZCR3BQy6sEmJ9ZI1cLU6VJAdDKY4TAswC/Ul18/GXyCq3dmOBncFiRey/ShQ78J3aIgogQLwMLdIH+tM/CeZDNRwRpYJ5CNI5hu4S73qnc+J1yL5MByp5QHcBBX6S9KdnwIDAQAB";
-        public const string ASN_PUBLIC_KEY = @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKkhXDMnHhY6KhADT9Glj0q/qLPIaXgLT+vNeHA0tS64u3rt4KoKst51oD21ZpNSzfbNtc5Awb+4evXjLuCFlxQs3TksWk75K2Aph/a/JKGKxvnxHWBvpukjYr4khghAiiGyXFjgmkzVdHLPSL5Q45ZMEHTkek1g//xhKFyyrwfQIDAQAB";
-            /// <summary>
-            /// RSA公钥格式转换,java->.net
-            /// </summary>
-            /// <param name="publicKey"></param>
-            /// <returns></returns>
+        //public const string ASN_PUBLIC_KEY = @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQDKkhXDMnHhY6KhADT9Glj0q/qLPIaXgLT+vNeHA0tS64u3rt4KoKst51oD21ZpNSzfbNtc5Awb+4evXjLuCFlxQs3TksWk75K2Aph/a/JKGKxvnxHWBvpukjYr4khghAiiGyXFjgmkzVdHLPSL5Q45ZMEHTkek1g//xhKFyyrwfQIDAQAB";
+        public const string ASN_PUBLIC_KEY = @"MIGfMA0GCSqGSIb3DQEBAQUAA4GNADCBiQKBgQCToAEnN51QQm73ps9SzWapZvPlgi76za7vobzFg8z6C64Tr6cW7mUGkLVu1u1kmcvhEudQSF4nElgsN92rOegtFJlmUy4r5hotKPaw3IEKnQQ0WtgJGrBXKc07xkBl8fVITtmRGhV2Eef9KX1XgvJgFIYwEhem/Vh8sodBTOWfpwIDAQAB";
+        /// <summary>
+        /// RSA公钥格式转换,java->.net
+        /// </summary>
+        /// <param name="publicKey"></param>
+        /// <returns></returns>
         public static string RSAPublicKeyJava2DotNet(string publicKey)
         {
             RsaKeyParameters publicKeyParam = (RsaKeyParameters)PublicKeyFactory.CreateKey(Convert.FromBase64String(publicKey));