javax.crypto.BadPaddingException: pad block corrupted

ws-users | Eaton, Jason | 12 months ago
tip
Your exception is missing from the Samebug knowledge base.
Here are the best solutions we found on the Internet.
Click on the to mark the helpful solution and get rewards for you help.
  1. 0

    Creating Derived Encrypted Key w/BinarySecurityToken Ref

    ws-users | 12 months ago | Eaton, Jason
    javax.crypto.BadPaddingException: pad block corrupted
  2. 0

    Creating Derived Encrypted Key w/BinarySecurityToken Ref

    ws-users | 12 months ago | Eaton, Jason
    javax.crypto.BadPaddingException: pad block corrupted

    Root Cause Analysis

    1. javax.crypto.BadPaddingException

      pad block corrupted

      at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray()
    2. Apache XML Security for Java
      XMLCipher.doFinal
      1. org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(Unknown Source)
      2. org.apache.xml.security.encryption.XMLCipher.decryptElement(Unknown Source)
      3. org.apache.xml.security.encryption.XMLCipher.decryptElementContent(Unknown Source)
      4. org.apache.xml.security.encryption.XMLCipher.doFinal(Unknown Source)
      4 frames
    3. Apache WSS4J
      ReferenceListProcessor.decryptEncryptedData
      1. org.apache.ws.security.processor.ReferenceListProcessor.decryptEncryptedData(ReferenceListProcessor.java:242)
      1 frame