1
回答
java.security.SignatureException: Signature length not correct: got 128 but was expecting 64
华为云实践训练营,热门技术免费实践!>>>   
java.security.SignatureException: Signature length not correct: got 128 but was expecting 64
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:189)
at java.security.Signature$Delegate.engineVerify(Signature.java:1172)
at java.security.Signature.verify(Signature.java:623)
at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:446)

at sun.security.x509.X509CertImpl.verify(X509CertImpl.java:394)

先从pfx文件导出cer文件,然后用pfx签名,再用cer验签。出现上面异常,一般什么原因?

(jdk1.7)

举报
feng_ynf
发帖于1年前 1回/2K+阅
顶部