private static string BuildRequestMysign(Dictionary <string, string> sPara) { string str; string prestr = Core.CreateLinkString(sPara); if (((str = _sign_type) != null) && (str == "MD5")) { return(AlipayMD5.Sign(prestr, _key, _input_charset)); } return(""); }
private bool GetSignVeryfy(SortedDictionary <string, string> inputPara, string sign) { string str; Dictionary <string, string> dictionary = new Dictionary <string, string>(); string prestr = Core.CreateLinkString(Core.FilterPara(inputPara)); bool flag = false; if (((sign != null) && (sign != "")) && (((str = this._sign_type) != null) && (str == "MD5"))) { flag = AlipayMD5.Verify(prestr, sign, this._key, this._input_charset); } return(flag); }