javax.xml.crypto.MarshalException: unsupported signature algorithm: http://www.w3.org/2001/04/xmldsig-more#rsa-sha256

xml-security-dev | torsten.reinhard@gi-de.com | 8 years 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

    JDK6 and xmlsec-1.4.2 issue (unsupported signature algorithm)

    xml-security-dev | 8 years ago | torsten.reinhard@gi-de.com
    javax.xml.crypto.MarshalException: unsupported signature algorithm: http://www.w3.org/2001/04/xmldsig-more#rsa-sha256

    Root Cause Analysis

    1. javax.xml.crypto.MarshalException

      unsupported signature algorithm: http://www.w3.org/2001/04/xmldsig-more#rsa-sha256

      at org.jcp.xml.dsig.internal.dom.DOMSignatureMethod.unmarshal()
    2. Java RT
      DOMXMLSignatureFactory.unmarshalXMLSignature
      1. org.jcp.xml.dsig.internal.dom.DOMSignatureMethod.unmarshal(DOMSignatureMethod.java:86)
      2. org.jcp.xml.dsig.internal.dom.DOMSignedInfo.<init>(DOMSignedInfo.java:122)
      3. org.jcp.xml.dsig.internal.dom.DOMXMLSignature.<init>(DOMXMLSignature.java:119)
      4. org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.unmarshal(DOMXMLSignatureFactory.java:152)
      5. org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.unmarshalXMLSignature(DOMXMLSignatureFactory.java:116)
      5 frames