using System;
|
|
using System.Collections.Generic;
|
|
using System.Linq;
|
|
using System.Text;
|
|
using System.Security.Cryptography;
|
|
using System.Security.Cryptography.X509Certificates;
|
|
|
|
namespace BWP.ABCClient.B2C.OnlineRemits
|
|
{
|
|
public class OnlineRemitConfig
|
|
{
|
|
/// <summary>
|
|
/// 网上支付平台通讯方式(http / https)
|
|
/// </summary>
|
|
public static string TrustPayConnectMethod
|
|
{
|
|
get
|
|
{
|
|
return "https";
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 网上支付平台服务器名
|
|
/// </summary>
|
|
public static string TrustPayServerName
|
|
{
|
|
get
|
|
{
|
|
return "www.95599.cn";
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 网上支付平台交易端口
|
|
/// </summary>
|
|
public static int TrustPayServerPort
|
|
{
|
|
get
|
|
{
|
|
return 443;
|
|
}
|
|
}
|
|
|
|
public static string TrustPayTrxURL
|
|
{
|
|
get
|
|
{
|
|
return "/b2c/trustpay/ReceiveMerchantTrxReqServlet";
|
|
}
|
|
}
|
|
|
|
/// <summary>
|
|
/// 得到商户的签名
|
|
/// </summary>
|
|
/// <param name="MerchantID"></param>
|
|
/// <returns></returns>
|
|
internal static RSACryptoServiceProvider GetMerchantKey(string MerchantID)
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
|
|
/// <summary>
|
|
/// 得到农行公钥
|
|
/// </summary>
|
|
/// <returns></returns>
|
|
internal static X509Certificate2 GetCertificate()
|
|
{
|
|
throw new NotImplementedException();
|
|
}
|
|
}
|
|
}
|