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=41510>.
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=41510

           Summary: org.apache.xml.security.keys.content.KeyValue.getPublicK
                    ey() returns null for DSA key
           Product: Security
           Version: unspecified
          Platform: Other
        OS/Version: Windows XP
            Status: NEW
          Severity: blocker
          Priority: P1
         Component: Signature
        AssignedTo: security-dev@xml.apache.org
        ReportedBy: [EMAIL PROTECTED]


Method org.apache.xml.security.keys.content.KeyValue.getPublicKey() returns null
for DSA based XML signatures. Closer investigation revealed, that line #150 of
this class:

Element dsa = XMLUtils.selectDsNode(this._constructionElement,
                         Constants._TAG_DSAKEYVALUE,0);

should rather look like:

Element dsa = XMLUtils.selectDsNode(this._constructionElement.getFirstChild(),
                         Constants._TAG_DSAKEYVALUE,0);

-- 
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