收藏
回答

微信商户实名认证获取证书接口,获取证书后解密报错tag mismatch,请问下如何解决?

下载证书之后用的AesUtil无法解密:报错 javax.crypto.AEADBadTagException: Tag mismatch!

javax.crypto.AEADBadTagException: Tag mismatch!


at com.sun.crypto.provider.GaloisCounterMode.decryptFinal(GaloisCounterMode.java:524)

at com.sun.crypto.provider.CipherCore.finalNoPadding(CipherCore.java:1023)

at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:960)

at com.sun.crypto.provider.CipherCore.doFinal(CipherCore.java:824)

at com.sun.crypto.provider.AESCipher.engineDoFinal(AESCipher.java:436)

at javax.crypto.Cipher.doFinal(Cipher.java:2165)



回答关注问题邀请回答
收藏
登录 后发表内容
问题标签