java.security.InvalidKeyException: Wrong algorithm: DESede or TripleDES required<br>

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 xml-security-dev by Peter Hendry, 5 months ago
Wrong algorithm: DESede or TripleDES required<br>
via xml-security-dev by Peter Hendry, 5 months ago
Wrong algorithm: DESede or TripleDES required<br>
via xml-security-dev by Peter Hendry, 5 months ago
Wrong algorithm: DESede or TripleDES required<br>
via xml-security-dev by Peter Hendry, 5 months ago
Wrong algorithm: DESede or TripleDES required<br>
via osdir.com by Unknown author, 2 years ago
java.security.InvalidKeyException: Wrong algorithm: DESede or TripleDES required<br>
at com.sun.crypto.provider.SunJCE_aa.a(DashoA12275)
at com.sun.crypto.provider.SunJCE_m.a(DashoA12275)
at com.sun.crypto.provider.SunJCE_h.a(DashoA12275)
at com.sun.crypto.provider.DESedeCipher.engineInit(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at javax.crypto.Cipher.init(DashoA12275)
at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(UnknownSource)
at org.apache.xml.security.encryption.XMLCipher.decryptElement(UnknownSource)
at com.capeclear.pgh.stuff.SecurityKeyTests.main(SecurityKeyTests.java:98)
at sun.reflect.NativeMethodAccessorImpl.invoke0(Native Method)
at sun.reflect.NativeMethodAccessorImpl.invoke(NativeMethodAccessorImpl.java:39)
at sun.reflect.DelegatingMethodAccessorImpl.invoke(DelegatingMethodAccessorImpl.java:25)
at java.lang.reflect.Method.invoke(Method.java:585)

Users with the same issue

You are the first who have seen this exception.

Write tip

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