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)

Samebug tips0

There are no available Samebug tips for this exception. If you know how to solve this issue, help other users by writing a short tip.

Don't give up yet. Paste your full stack trace to get a solution.

Solutions on the web261

  • via ws-users by Massimiliano Masi, 9 months 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-wss4j-dev by Lule Chen, 9 months 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-wss4j-dev by Maciej Kwiecien, 9 months 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)
  • Stack trace

    • 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) at com.spirit.security.soap.SoapSecurity.verifySecurityHeader(SoapSecurity.java:258) at com.spirit.direct.soap.DirectXDRSecurity.processIncoming(DirectXDRSecurity.java:238) Caused by: 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) 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 org.apache.ws.security.WSSecurityEngine.processSecurityHeader(WSSecurityEngine.java:248) at com.spirit.security.soap.SoapSecurity.verifySecurityHeader(SoapSecurity.java:183) ... 2 more Caused by: 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) ... 9 more

    Write tip

    You have a different solution? A short tip here would help you and many other users who saw this issue last week.

    Users with the same issue

    Unknown user
    Once, 11 months ago
    Unknown user
    Once, 1 year ago