org.opensaml.xml.encryption.EncryptionException

There are no available Samebug tips for this exception. Do you have an idea how to solve this issue? A short tip would help users who saw this issue last week.

  • [OpenSAML] [OpenSAML java] encrypted assertion
    via by Unknown author,
  • Decode using cipher Algorithm
    via Stack Overflow by Bucks
    ,
  • Regarding Asymmetric Algorithm
    via by 843811,
  • Problem with RSA
    via by 843811,
  • db:: 4.20::PrivateKey Unknown key spec sm
    via by Unknown author,
  • db:: 4.02::RSA Public key from xml m9
    via by Unknown author,
    • org.opensaml.xml.encryption.EncryptionException: Error encrypting XMLObject at org.opensaml.xml.encryption.Encrypter.encryptElement(Encrypter.java:453) at org.opensaml.saml2.encryption.Encrypter.encrypt(Encrypter.java:343) at org.opensaml.saml2.encryption.Encrypter.encrypt(Encrypter.java:257) at SamlTest.main(SamlTest.java:208) 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 org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source) at org.apache.xml.security.encryption.XMLCipher.encryptData(Unknown Source) at org.opensaml.xml.encryption.Encrypter.encryptElement(Encrypter.java:450) ... 3 more

    Users with the same issue

    Unknown visitor1 times, last one,