Larchier Christophe wrote: > I sign with XML Signature. > Note that canonicalization is not allowed.
Then it's not truly XML signature. Without canonicalisation you run into the problems that you are seeing. So the only real way past is to treat your document as a byte stream rather than an XML document and sign it inside a set of elements as described earlier. Cheers, Berin