JDK-8038349 : Signing XML with DSA throws Exception when key is larger than 1024 bits
The Version table provides details related to the release that this issue/RFE will be addressed.
Unresolved : Release in which this issue/RFE will be addressed. Resolved: Release in which this issue/RFE has been resolved. Fixed : Release in which this issue/RFE has been fixed. The release containing this fix may be available for download as an Early Access Release or a General Availability Release.
See: https://issues.apache.org/jira/browse/SANTUARIO-379 for more information.
The affected testcase could pass in nightly result:
Add support for signing and verifying XML Signatures with 2048-bit DSA keys. Also add support for the DSA-SHA256 algorithm which was added in XML Signature 1.1: http://www.w3.org/TR/xmldsig-core1/#sec-DSA
JDK 8 already includes the underlying support for both of these in the Sun provider. For 2048 bit keys, the ASN.1 parsing code in the XML Signature layer needed to be adapted to handle 2048 bit keys, and for SHA-256 it was just a matter of registering the algorithm URI and instantiating a Signature object with the SHA256WithDSA algorithm.