C# Class Senparc.Weixin.MP.TenPayLib.ResponseHandler

Show file Open project: JeffreySu/WeiXinMPSDK Class Usage Examples

Protected Properties

Property Type Description
Content string
HttpContext System.Web.HttpContext
Parameters System.Collections.Hashtable

Public Methods

Method Description
GetDebugInfo ( ) : string

获取debug信息

GetKey ( ) : string

获取密钥

GetParameter ( string parameter ) : string

获取参数值

Init ( ) : void

初始化函数

IsTenpaySign ( ) : Boolean

是否财付通签名,规则是:按参数名称a-z排序,遇到空值的参数不参加签名。return boolean

IsWXsign ( ) : Boolean

判断微信签名

IsWXsignfeedback ( ) : Boolean

判断微信维权签名

ResponseHandler ( HttpContext httpContext ) : System

获取页面提交的get和post参数

SetKey ( string key, string appkey ) : void

设置密钥

SetParameter ( string parameter, string parameterValue ) : void

设置参数值

Protected Methods

Method Description
GetCharset ( ) : string
SetDebugInfo ( String debugInfo ) : void

设置debug信息

Method Details

GetCharset() protected method

protected GetCharset ( ) : string
return string

GetDebugInfo() public method

获取debug信息
public GetDebugInfo ( ) : string
return string

GetKey() public method

获取密钥
public GetKey ( ) : string
return string

GetParameter() public method

获取参数值
public GetParameter ( string parameter ) : string
parameter string
return string

Init() public method

初始化函数
public Init ( ) : void
return void

IsTenpaySign() public method

是否财付通签名,规则是:按参数名称a-z排序,遇到空值的参数不参加签名。return boolean
public IsTenpaySign ( ) : Boolean
return Boolean

IsWXsign() public method

判断微信签名
public IsWXsign ( ) : Boolean
return Boolean

IsWXsignfeedback() public method

判断微信维权签名
public IsWXsignfeedback ( ) : Boolean
return Boolean

ResponseHandler() public method

获取页面提交的get和post参数
public ResponseHandler ( HttpContext httpContext ) : System
httpContext System.Web.HttpContext
return System

SetDebugInfo() protected method

设置debug信息
protected SetDebugInfo ( String debugInfo ) : void
debugInfo String
return void

SetKey() public method

设置密钥
public SetKey ( string key, string appkey ) : void
key string
appkey string
return void

SetParameter() public method

设置参数值
public SetParameter ( string parameter, string parameterValue ) : void
parameter string
parameterValue string
return void

Property Details

Content protected property

原始内容
protected string Content
return string

HttpContext protected property

protected HttpContext,System.Web HttpContext
return System.Web.HttpContext

Parameters protected property

应答的参数
protected Hashtable,System.Collections Parameters
return System.Collections.Hashtable