Hello experts.
 
Please help me on the following issue.
 
The validation of DOM of XSLT conveted from JDOM using RSA fails.

Here is what we are doing for XML signature signing(for URI and XSLT)
1)Creating JDOM of an XML file
2)Converting JDOM to DOM
3)Signing DOM (URI and XSLT)
It signs an URI and XSLT .- No issues for an URI signature and an XSLT signature.

Here is what we are doing for XML signature validation(URI and XSLT)
1)Converting DOM back to JDOM
2)Normalizing the DOM( URI &XSLT)
3)Validating the DOM

When we do XMLdigital signature for an XSLT, it signs but doesn't validate.But for an URI , it signs and validates , we don't have any issues.
 
Any idea if i canonicalize the DOM converted back from JDOM  and then validate , would this problem be resolved.
If so can you also point me how to canonicalize  DOM  without sending into outstream.
 
Thanks
 
 
 

Reply via email to