NewGaoKaoApi/PaymentSDK/AliPay/Util/Asymmetric/RSA2Encryptor.cs

19 lines
498 B
C#
Raw Permalink Blame History

This file contains ambiguous Unicode characters!

This file contains ambiguous Unicode characters that may be confused with others in your current locale. If your use case is intentional and legitimate, you can safely ignore this warning. Use the Escape button to highlight these characters.

namespace Aop.Api.Util.Asymmetric
{
/// <summary>
/// RSA2算法加密器
/// 签名部分采用SHA256算法进行摘要计算其余部分与RSA算法相同
/// </summary>
public class RSA2Encryptor : RSAEncryptor
{
/// <summary>
/// RSA2算法签名采用SHA256摘要算法
/// </summary>
/// <returns>摘要算法名称</returns>
protected override string GetShaType()
{
return "SHA256";
}
}
}