Xml signature error

I have an xml document. When I print a document using java libs, I get the correct xml output. Then I sign the xml document using xmlsignatures. After signing, I will try to print the document again. But this time the document is printed in such a way that all Elements are JUMBLED . So I want to know if an XML signature modifies an XML document? If so, why?

+3
source share
2 answers

A signature can change your structure by canonizing it. This is necessary because your xml may have different valid representations. To verify the signature, all parties must agree on a canonical submission.

+2
source

@Mat, , JUMBLED. , , ( DETACHED). , ENVELOPING , , .

+2

All Articles