| Package | Description |
|---|---|
| com.wudaosoft.weixinsdk | |
| com.wudaosoft.weixinsdk.aes | |
| com.wudaosoft.weixinsdk.config | |
| com.wudaosoft.weixinsdk.utils |
| Modifier and Type | Method and Description |
|---|---|
String |
WeiXinMessageProcess.processRequest(javax.servlet.http.HttpServletRequest request)
回调消息处理入口
|
| Modifier and Type | Method and Description |
|---|---|
static String |
WXBizMsgCrypt.decrypt(String text,
WeiXinConfig wxConf)
对密文进行解密.
|
static String |
WXBizMsgCrypt.decryptMsg(String msgSignature,
String timeStamp,
String nonce,
String postData,
WeiXinConfig wxConf)
检验消息的真实性,并且获取解密后的明文.
|
static String |
WXBizMsgCrypt.encrypt(String randomStr,
String text,
WeiXinConfig wxConf)
对明文进行加密.
|
static String |
WXBizMsgCrypt.encryptMsg(String replyMsg,
String timeStamp,
String nonce,
WeiXinConfig wxConf)
将公众平台回复用户的消息加密打包.
|
static Object[] |
XMLParse.extract(String xmltext)
提取出xml数据包中的加密消息
|
static String |
WXBizMsgCrypt.verifyUrl(String msgSignature,
String timeStamp,
String nonce,
String echoStr,
WeiXinConfig wxConf)
验证URL
|
| Modifier and Type | Method and Description |
|---|---|
WeiXinConfig |
WeiXinConfig.setEncodingAesKey(String encodingAesKey) |
| Constructor and Description |
|---|
WeiXinConfig(String appId,
String appsecret,
String token,
String encodingAesKey) |
| Modifier and Type | Method and Description |
|---|---|
static Object[] |
XMLParse.extract(String xmltext)
提取出xml数据包中的加密消息
|
static String |
SHA1.getSHA1(String token,
String timestamp,
String nonce,
String encrypt)
用SHA1算法生成安全签名
|
Copyright © 2012–2020 Wudao Software Studio. All rights reserved.