Sorry… The code did not seem to paste
correctly in the previous email. Hello, Here is an small example that demonstratest the
problem I am having with serializing/parsing XMLSignature nodes with dom4j. In
this code I parse a string of XML into an org.w3c.dom.Element, Sign this with
an enveloped XMLSignature and successfully verify the signature.
Immediately after this I use dom4j to serialize to text and parse back to an
org.w3c.dom.Element. After this I can no longer verify the XMLSignature. I get
an Unknown canonicalizer exception. Any ideas or suggestions are greatly
appreciated. I have included a test keystore & cert in case anyone would
care to test this themselves. Thanks! -Garett |
testcert.cer
Description: testcert.cer
privateStore
Description: privateStore
Sigtest.java
Description: Sigtest.java
------------------------------------------------------------------------- Using Tomcat but need to do more? Need to support web services, security? Get stuff done quickly with pre-integrated technology to make your job easier Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________ dom4j-dev mailing list dom4j-dev@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/dom4j-dev