| 程序包 | 说明 |
|---|---|
| net.jlxxw.wechat.component | |
| net.jlxxw.wechat.util |
| 限定符和类型 | 方法和说明 |
|---|---|
String |
WeChatMsgCodec.decrypt(String text)
对密文进行解密.
|
String |
WeChatMsgCodec.decryptMsg(String msgSignature,
String timeStamp,
String nonce,
String postData)
检验消息的真实性,并且获取解密后的明文.
|
String |
WeChatMsgCodec.encrypt(String text)
将信息进行加密
|
void |
WeChatMsgCodec.postConstruct()
后置处理器
token 公众平台上,开发者设置的token
encodingAesKey 公众平台上,开发者设置的EncodingAESKey
appId 公众平台 appId
|
| 限定符和类型 | 方法和说明 |
|---|---|
static Object[] |
XMLParse.extract(String xmltext)
提取出xml数据包中的加密消息
|
static String |
SHA1.getSHA1(String token,
String timestamp,
String nonce,
String encrypt)
用SHA1算法生成安全签名
|
Copyright © 2023. All rights reserved.