Exemplo n.º 1
0
 public static string SignAopRequest(IDictionary <string, string> parameters, string privateKeyPem, string charset, bool keyFromFile, string signType)
 {
     return(AlipaySignature.RSASign(parameters, privateKeyPem, charset, keyFromFile, signType));
 }
Exemplo n.º 2
0
 /// <summary>
 /// 建议直接使用<code>AlipaySignature.RSASign(data, privateKeyPem)</code>
 /// </summary>
 /// <param name="data"></param>
 /// <param name="privateKeyPem"></param>
 /// <returns></returns>
 public static string RSASign(string data, string privateKeyPem, string charset)
 {
     return(AlipaySignature.RSASign(data, privateKeyPem, charset, "RSA"));
 }