类 XMLParse
java.lang.Object
net.jlxxw.wechat.event.util.XMLParse
XMLParse class
提供提取消息格式中的密文及生成回复消息格式的接口.
- 作者:
- lcy
-
构造器概要
构造器 -
方法概要
-
构造器详细资料
-
XMLParse
public XMLParse()
-
-
方法详细资料
-
extract
提取出xml数据包中的加密消息- 参数:
xmltext- 待提取的xml字符串- 返回:
- 提取出的加密消息字符串
- 抛出:
AesException
-
generate
生成xml消息- 参数:
encrypt- 加密后的消息密文signature- 安全签名timestamp- 时间戳nonce- 随机字符串- 返回:
- 生成的xml字符串
-