It's XML signature but on binary datas (which are XML files, but it's not important). With xml-security, it's possible to sign binary datas, why not to encrypt them ? Don't you think that this functionnality should be added ?
-----Message d'origine----- De : Berin Lautenbach [mailto:[EMAIL PROTECTED] Envoyé : mardi 4 avril 2006 11:24 À : security-dev@xml.apache.org Objet : Re: xml encryption/decryption of binary data 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