java.security.InvalidKeyException

Wrong algorithm: AES or Rijndael required at org.apache.xml.security.encryption.XMLCipher. decryptToByteArray(Unknown Source) at org.apache.xml.security.encryption.XMLCipher. decryptElement(Unknown Source)

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 web351

  • via xml-security-dev by Werner Dittmann, 1 week ago
    Wrong algorithm: AES or Rijndael required at org.apache.xml.security.encryption.XMLCipher. decryptToByteArray(Unknown Source) at org.apache.xml.security.encryption.XMLCipher. decryptElement(Unknown Source)
  • via xml-security-dev by Deepachandaran Palanisamy, 9 months ago
    Wrong algorithm: AES or Rijndael required at org.apache.xml.security.encryption.XMLCipher. decryptToByteArray(Unknown Source) at org.apache.xml.security.encryption.XMLCipher. decryptElement(Unknown Source)
  • via Oracle Community by 843811, 1 year ago
    Wrong algorithm: AES or Rijndael required
  • Stack trace

    • java.security.InvalidKeyException: Wrong algorithm: AES or Rijndael required at org.apache.xml.security.encryption.XMLCipher. decryptToByteArray(Unknown Source) at org.apache.xml.security.encryption.XMLCipher. decryptElement(Unknown Source) at org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)

    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, 10 months ago