DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUGĀ·
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=39273>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED ANDĀ·
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=39273

           Summary: JSR 105 DOMCryptoContext.setIdAttributeNS not working
                    when validating signatures
           Product: Security
           Version: Java 1.3
          Platform: All
        OS/Version: other
            Status: NEW
          Severity: normal
          Priority: P4
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


The javax.xml.crypto.dom.DOMCryptoContext.setIdAttributeNS method is used
to register ID attributes so xmldsig can find them. This works fine when
generating signatures, but not when validating them.

A workaround is to use the DOM Element.setIdAttribute method, if using DOM L3. 
Or
you can use the XMLSec IdResolver.registerElementById method.

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

Reply via email to