♻️ 过时语义不清晰的 decrypt 方法

This commit is contained in:
Scruel Tao
2021-12-08 14:47:49 +08:00
committed by GitHub
parent fcb599b76e
commit f2ac81ef5e
6 changed files with 8 additions and 6 deletions

View File

@ -96,7 +96,7 @@ public class WxCryptUtilTest {
String encrypt = nodelist1.item(0).getTextContent();
String fromXML = String.format(this.xmlFormat, encrypt);
pc.decrypt("12345", this.timestamp, this.nonce, fromXML); // 这里签名错误
pc.decryptXml("12345", this.timestamp, this.nonce, fromXML); // 这里签名错误
} catch (RuntimeException e) {
assertEquals(e.getMessage(), "加密消息签名校验失败");
return;