Title: xml encryption/decryption of binary data
The binary datas are externals (payloads of SOAP with attachments messages).
 
-----Message d'origine-----
De : Hess Yvan [mailto:[EMAIL PROTECTED]
Envoyé : mardi 4 avril 2006 11:29
À : security-dev@xml.apache.org
Objet : RE: xml encryption/decryption of binary data

Where you binary datas are stored ? Inside the XML document or outside the document ? Actualy I am "using" XML security to encryt external binary data and may be I can help you if you explain me the problem in detail.
 
Regards. Yvan Hess

From: Larchier Christophe [mailto:[EMAIL PROTECTED]
Sent: mardi, 4. avril 2006 10:10
To: security-dev@xml.apache.org
Subject: RE: xml encryption/decryption of binary data

Which package do you refer to ?
If it's possible, I'd prefer not setting the world on fire.
 
Christophe
 
 
-----Message d'origine-----
De : Martin Labarthe Dubois [mailto:[EMAIL PROTECTED]
Envoyé : lundi 3 avril 2006 20:13
À : security-dev@xml.apache.org
Objet : Re: xml encryption/decryption of binary data

why don´t you just use Java crypt primitives for that?
 
----- Original Message -----
Sent: Friday, March 31, 2006 4:41 AM
Subject: RE: xml encryption/decryption of binary data

Nobody uses xml encryption with binary datas ???
 
-----Message d'origine-----
De : Larchier Christophe [mailto:[EMAIL PROTECTED]
Envoyé : mercredi 29 mars 2006 17:41
À : security-dev@xml.apache.org
Objet : xml encryption/decryption of binary data

Hi all,

When I use apache xml security library to encrypt an xml document like the following one, the xml header is loosen.

<?xml version="1.0" encoding="UTF-8"?>

<PurchaseOrder>
...
</PurchaseOrder>


After encrypting/decrypting, I get only :

<PurchaseOrder>
...
</PurchaseOrder>


I use the doFinal() method to encrypt/decrypt with the all document as parameter :
xmlCipher.doFinal(doc, doc);


How do you manage this ?

Is it possible to do xml encryption with binary datas ?
I have tried to insert my binary datas into a dom document, but some special characters are added (to replace < > \).

Thanks,
Christophe

Reply via email to