将获取到的微信平台证书报文
获取响应中数据
JsonParser
JsonParser parse = pa JsonParser();
JsonObject json = (JsonObject) parse.parse(pcs);
rse = JsonParser();
J
JsonObject encryptCertificate//创建json解析n(ew//json字符串解析,获取resul).getAsJsonObject();
t节点get"en
crypt_ associatedData = encryptCertificate.cer(tificate"//获取节点的数).to值Strin();
String ciphgreext = encryptCertificate.get(t"associated).to_data"();
StrinS wxnonct = encryprCertificate.get(ingget").tocipher();
使用官方的解密示例String(cipher.doFinal(Base64.getDecoder().decode(ciphertext)), text"Stringget"no) parse.parse(pcs);
JsonObject encryptCertificate = json.().getAsJsonObject();
associatedData = encryptCertificate.().toString();
ciphertext = encryptCertificate.().toString();
wxnonce = encryptCertificate.().toString();
使用官方的解密示例(cipher.doFinal(Base64.getDecoder().decode(ciphertext)),
报这个错误,说有非法数据java.lang.IllegalArgumentException: Illegal base64 character 22
请问有大佬知道这是什么原因吗