org.apache.xml.security.encryption.XMLEncryptionException: encryption.nokey

Searched on Google with the first line of a JAVA stack trace?

We can recommend more relevant solutions and speed up debugging when you paste your entire stack trace with the exception message. Try a sample exception.

Recommended solutions based on your search

Solutions on the web

via GitHub by pramnik
, 1 year ago
org.apache.xml.security.encryption.XMLEncryptionException: encryption.nokey
at org.apache.xml.security.encryption.XMLCipher.decryptToByteArray(XMLCipher.java:1802)
at org.apache.xml.security.encryption.XMLCipher.decryptElement(XMLCipher.java:1712)
at com.onelogin.saml2.util.Util.decryptElement(Util.java:907)
at com.onelogin.saml2.authn.SamlResponse.decryptAssertion(SamlResponse.java:913)
at com.onelogin.saml2.authn.SamlResponse.loadXmlFromBase64(SamlResponse.java:122)

Users with the same issue

Once, 1 year ago

Write tip

Know the solutions? Share your knowledge to help other developers to debug faster.