org.apache.ws.security.WSSecurityException: An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5)

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 ws-users by Massimiliano Masi, 1 year ago
An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5)
via ws-users by Massimiliano Masi, 1 year ago
An unsupported signature or encryption algorithm was used (unsupported key transport encryption algorithm: No such algorithm: http://www.w3.org/2001/04/xmlenc#rsa-1_5)
java.security.NoSuchAlgorithmException: No transformation given
at javax.crypto.Cipher.tokenizeTransformation(Cipher.java:288)
at javax.crypto.Cipher.getTransforms(Cipher.java:412)
at javax.crypto.Cipher.getInstance(Cipher.java:486)
at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:846)
at org.apache.ws.security.util.WSSecurityUtil.getCipherInstance(WSSecurityUtil.java:865)
at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:96)
at org.apache.ws.security.processor.EncryptedKeyProcessor.handleToken(EncryptedKeyProcessor.java:65)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:396)
at org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:303)
at com.spirit.security.soap.SoapSecurity.verifySecurityHeader(SoapSecurity.java:183)
at com.spirit.security.soap.SoapSecurity.verifySecurityHeader(SoapSecurity.java:258)
at com.spirit.direct.soap.DirectXDRSecurity.processIncoming(DirectXDRSecurity.java:238)

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.