C# Class CRL.Business.OnlinePay.Company.Lianlian.YinTongUtil

Show file Open project: hubro-xx/CRL2 Class Usage Examples

Public Methods

Method Description
LocalIPAddress ( ) : string
YinTongUtil ( ) : System
addSign ( string>.SortedDictionary sParaTemp, String rsa_private, String md5_key ) : String
checkSign ( string>.SortedDictionary sParaTemp, String rsa_public, String md5_key ) : bool
dictToJson ( string>.SortedDictionary dict ) : string
genSignData ( string>.SortedDictionary sParaTemp ) : String
getCurrentDateTimeStr ( ) : String
isnull ( String str ) : bool

Private Methods

Method Description
addSignMD5 ( string>.SortedDictionary sParaTemp, String md5_key ) : String
addSignRSA ( string>.SortedDictionary sParaTemp, String rsa_private ) : String
checkSignMD5 ( string>.SortedDictionary sParaTemp, String md5_key ) : bool
checkSignRSA ( string>.SortedDictionary sParaTemp, String rsa_public ) : bool

Method Details

LocalIPAddress() public static method

public static LocalIPAddress ( ) : string
return string

YinTongUtil() public method

public YinTongUtil ( ) : System
return System

addSign() public static method

public static addSign ( string>.SortedDictionary sParaTemp, String rsa_private, String md5_key ) : String
sParaTemp string>.SortedDictionary
rsa_private String
md5_key String
return String

checkSign() public static method

public static checkSign ( string>.SortedDictionary sParaTemp, String rsa_public, String md5_key ) : bool
sParaTemp string>.SortedDictionary
rsa_public String
md5_key String
return bool

dictToJson() public static method

public static dictToJson ( string>.SortedDictionary dict ) : string
dict string>.SortedDictionary
return string

genSignData() public static method

public static genSignData ( string>.SortedDictionary sParaTemp ) : String
sParaTemp string>.SortedDictionary
return String

getCurrentDateTimeStr() public static method

public static getCurrentDateTimeStr ( ) : String
return String

isnull() public static method

public static isnull ( String str ) : bool
str String
return bool