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
  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
  2. 0

    unsupported SignatureMethod algorithm, but the algorithm is listed as available Service by BC-Provider

    Stack Overflow | 4 years ago | billdoor
    javax.xml.crypto.MarshalException: unsupported SignatureMethod algorithm: http://www.w3.org/2007/05/xmldsig-more#ecdsa-ripemd160
  3. 0

    Re: javax.xml.crypto.MarshalException - Sean Mullan - net.java.dev.jwsdp.users - MarkMail

    markmail.org | 1 year ago
    javax.xml.crypto.MarshalException: java.security.NoSuchAlgorithmException: class configured for TransformService: org.jcp.xml.dsig.internal.dom.DOMCanonicalXMLC14NMethod not a TransformService at org.jcp.xml.dsig.internal.dom.DOMTransform.<init>(DOMTransform.java:57) at org.jcp.xml.dsig.internal.dom.DOMCanonicalizationMethod.<init>(DOMCanonicalizationMethod.java:44) at org.jcp.xml.dsig.internal.dom.DOMSignedInfo.<init>(DOMSignedInfo.java:118) at org.jcp.xml.dsig.internal.dom.DOMXMLSignature.<init>(DOMXMLSignature.java:118) at org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.unmarshal(DOMXMLSignatureFactory.java:161) at org.jcp.xml.dsig.internal.dom.DOMXMLSignatureFactory.unmarshalXMLSignature(DOMXMLSignatureFactory.java:125) at es.nqas.qosmeter.security.SamlManagerImpl.validateSignature(SamlManagerImpl.java:329) at es.nqas.qosmeter.security.SamlManagerImpl.readRoleAssertion(SamlManagerImpl.java:182) at es.nqas.qosmeter.security.SecurityManagerImpl.processSoapSecurityInfo(SecurityManagerImpl.java:316) at es.nqas.qosmeter.security.SamlAuthenticationProvider.authenticate(SamlAuthenticationProvider.java:76) at org.acegisecurity.providers.ProviderManager.doAuthentication(ProviderManager.java:208) at org.acegisecurity.AbstractAuthenticationManager.authenticate(AbstractAuthenticationManager.java:49) at es.nqas.qosmeter.server.store.soap.security.CheckRoleHandler.invoke(CheckRoleHandler.java:124) at org.codehaus.xfire.handler.HandlerPipeline.invoke(HandlerPipeline.java:131) at org.codehaus.xfire.transport.DefaultEndpoint.onReceive(DefaultEndpoint.java:64) at org.codehaus.xfire.transport.AbstractChannel.receive(AbstractChannel.java:38) at org.codehaus.xfire.transport.http.XFireServletController.invoke(XFireServletController.java:301) at org.codehaus.xfire.transport.http.XFireServletController.doService(XFireServletController.java:130) at org.codehaus.xfire.spring.remoting.XFireServletControllerAdapter.handleRequest(XFireServletControllerAdapter.java:67) at org.codehaus.xfire.spring.remoting.XFireExporter.handleRequest(XFireExporter.java:48) at org.springframework.web.servlet.mvc.SimpleControllerHandlerAdapter.handle(SimpleControllerHandlerAdapter.java:44) at org.springframework.web.servlet.DispatcherServlet.doDispatch(DispatcherServlet.java:684) at org.springframework.web.servlet.DispatcherServlet.doService(DispatcherServlet.java:625) at org.springframework.web.servlet.FrameworkServlet.serviceWrapper(FrameworkServlet.java:386) at org.springframework.web.servlet.FrameworkServlet.doPost(FrameworkServlet.java:355)
  4. Speed up your debug routine!

    Automated exception search integrated into your IDE

    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