Error encrypting XMLObject

Solutions on the web2

Solution icon of googlegroups
via Google Groups by Unknown author, 6 months ago
Error encrypting XMLObject

Solution icon of stackoverflow
via Stack Overflow by maikelm
, 1 year ago
Error encrypting XMLObject

Stack trace

  • org.opensaml.xml.encryption.EncryptionException: Error encrypting XMLObject at org.opensaml.xml.encryption.Encrypter.encryptElement( at org.opensaml.saml2.encryption.Encrypter.encrypt( at org.opensaml.saml2.encryption.Encrypter.encrypt( at SamlTest.main( Caused by: java.lang.ArrayIndexOutOfBoundsException: too much data for RSA block at org.bouncycastle.jce.provider.JCERSACipher.engineDoFinal(Unknown Source) at javax.crypto.Cipher.doFinal(Unknown Source) at Source) at Source) at org.opensaml.xml.encryption.Encrypter.encryptElement( ... 3 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

Samebug visitor profile picture
Unknown user
Once, 1 year ago