javax.xml.crypto.dsig.XMLSignatureException: java.security.SignatureException: Signature encoding error

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via Coderanch by Juan Ochoa, 1 year ago
java.security.SignatureException: Signature encoding error
via Stack Overflow by phuongho
, 1 week ago
java.security.SignatureException: Signature encoding error
via europa.eu by Unknown author, 1 year ago
java.security.SignatureException: Signature length not correct: got 256 but was expecting 128
javax.xml.crypto.dsig.XMLSignatureException: java.security.SignatureException: Signature encoding error
at sun.security.rsa.RSASignature.decodeSignature(RSASignature.java:235)
at sun.security.rsa.RSASignature.engineVerify(RSASignature.java:197)
at java.security.Signature$Delegate.engineVerify(Signature.java:1172)
at java.security.Signature.verify(Signature.java:623)
at org.jcp.xml.dsig.internal.dom.DOMSignatureMethod.verify(DOMSignatureMethod.java:248)
at org.jcp.xml.dsig.internal.dom.DOMXMLSignature$DOMSignatureValue.validate(DOMXMLSignature.java:544)
at com.vialGroup.applet.test.senae.TestConSun.main(TestConSun.java:187)

Users with the same issue

8 times, 1 year ago
Samebug visitor profile picture
Unknown user
Once, 1 year ago

Know the solutions? Share your knowledge to help other developers to debug faster.