mirror of
https://gitee.com/binary/weixin-java-tools.git
synced 2025-10-28 04:29:07 +08:00
♻️ 过时语义不清晰的 decrypt 方法
This commit is contained in:
@ -165,7 +165,7 @@ public class WxMaMessage implements Serializable {
|
||||
public static WxMaMessage fromEncryptedXml(String encryptedXml,
|
||||
WxMaConfig wxMaConfig, String timestamp, String nonce,
|
||||
String msgSignature) {
|
||||
String plainText = new WxMaCryptUtils(wxMaConfig).decrypt(msgSignature, timestamp, nonce, encryptedXml);
|
||||
String plainText = new WxMaCryptUtils(wxMaConfig).decryptXml(msgSignature, timestamp, nonce, encryptedXml);
|
||||
return fromXml(plainText);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user