Beispiel #1
0
 /// <summary>
 /// 使用指定密钥对明文进行签名,返回明文签名的字符串
 /// </summary>
 /// <param name="source">要签名的明文字符串</param>
 /// <param name="privateKey">私钥</param>
 /// <returns></returns>
 public override string SignData(string source, string privateKey)
 {
     return(RSAEncryptionProvider.SignData(source, privateKey, Encoding, OutType, RSAType.RSA2, KeyType));
 }