Nektarios Ioannides wrote:
> WARNING: No Version of Xerces found, please check your classpath, defaulting to DOM LEVEL 3
> signing failed: Cannot find algorithm 'http://www.w3.org/2001/10/xml-exc-c14n#' for mechanism type 'DOM'.
The warning is displayed by Xsect 1.11, Xsect 1.10 does not print a warning.
The underlying issue is that Java 6 contains new (partial) XMLDSIG support which
was not included in Java 5. Xsect offers full XMLDSIG+XMLENC and when using Java 6
you have to be careful with mixing both implementations/providers.
The next build of Xsect should be more robust in interaction with Java 6
provided parts, in the meantime one has to be a little careful during initialisation.
Please replace your IAIK.class in your iaik_xkms.jar with attached version.
The Xerces warning persists (because Suns bundled version of Xerces AFAIR does not
contain a version), but the signing works as expected.
HTH
--
Martin Pirker
IAIK, TU Graz
|