Return-Path: Delivered-To: apmail-xml-security-dev-archive@www.apache.org Received: (qmail 97661 invoked from network); 4 Apr 2006 09:27:21 -0000 Received: from hermes.apache.org (HELO mail.apache.org) (209.237.227.199) by minotaur.apache.org with SMTP; 4 Apr 2006 09:27:21 -0000 Received: (qmail 92750 invoked by uid 500); 4 Apr 2006 09:27:20 -0000 Delivered-To: apmail-xml-security-dev-archive@xml.apache.org Received: (qmail 92727 invoked by uid 500); 4 Apr 2006 09:27:19 -0000 Mailing-List: contact security-dev-help@xml.apache.org; run by ezmlm Precedence: bulk List-Post: List-Help: List-Unsubscribe: Reply-To: security-dev@xml.apache.org List-Id: Delivered-To: mailing list security-dev@xml.apache.org Received: (qmail 92716 invoked by uid 99); 4 Apr 2006 09:27:19 -0000 Received: from asf.osuosl.org (HELO asf.osuosl.org) (140.211.166.49) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 02:27:19 -0700 X-ASF-Spam-Status: No, hits=0.0 required=10.0 tests=HTML_MESSAGE X-Spam-Check-By: apache.org Received-SPF: pass (asf.osuosl.org: local policy) Received: from [194.209.33.5] (HELO srvweb.imtf.ch) (194.209.33.5) by apache.org (qpsmtpd/0.29) with ESMTP; Tue, 04 Apr 2006 02:27:18 -0700 Received: from 192.168.255.40 [192.168.255.40] by srvweb.imtf.ch with XWall v3.36 ; Tue, 4 Apr 2006 11:26:48 +0200 X-MimeOLE: Produced By Microsoft Exchange V6.5 Content-class: urn:content-classes:message MIME-Version: 1.0 Content-Type: multipart/alternative; boundary="----_=_NextPart_001_01C657CA.34D4ED74" Subject: RE: xml encryption/decryption of binary data Date: Tue, 4 Apr 2006 11:29:00 +0200 Message-ID: <487CFB40212D29498A776BD39F714D84B95C51@srvexch.IMTF.LOCAL> X-MS-Has-Attach: X-MS-TNEF-Correlator: Thread-Topic: xml encryption/decryption of binary data Thread-Index: AcZXSo6DWimFODqYQwuKYlW9j0bPOgAcHtcQAAMlYHA= From: "Hess Yvan" To: X-Virus-Checked: Checked by ClamAV on apache.org X-Spam-Rating: minotaur.apache.org 1.6.2 0/1000/N This is a multi-part message in MIME format. ------_=_NextPart_001_01C657CA.34D4ED74 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable 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. =20 Regards. Yvan Hess ________________________________ From: Larchier Christophe [mailto:clarchier@axway.com]=20 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. =20 Christophe =20 =20 -----Message d'origine----- De : Martin Labarthe Dubois [mailto:dubois@consist.com.ar] Envoy=E9 : lundi 3 avril 2006 20:13 =C0 : security-dev@xml.apache.org Objet : Re: xml encryption/decryption of binary data =09 =09 why don=B4t you just use Java crypt primitives for that? =20 ----- Original Message -----=20 From: Larchier Christophe =20 To: security-dev@xml.apache.org=20 Sent: Friday, March 31, 2006 4:41 AM Subject: RE: xml encryption/decryption of binary data Nobody uses xml encryption with binary datas ??? =20 -----Message d'origine----- De : Larchier Christophe [mailto:clarchier@axway.com] Envoy=E9 : mercredi 29 mars 2006 17:41 =C0 : security-dev@xml.apache.org Objet : xml encryption/decryption of binary data =09 =09 Hi all,=20 When I use apache xml security library to encrypt an xml document = like the following one, the xml header is loosen.=20 =20 =20 ...=20 =20 After encrypting/decrypting, I get only :=20 =20 ...=20 =20 I use the doFinal() method to encrypt/decrypt with the all document = as parameter :=20 xmlCipher.doFinal(doc, doc);=20 How do you manage this ?=20 Is it possible to do xml encryption with binary datas ?=20 I have tried to insert my binary datas into a dom document, but some = special characters are added (to replace < > \).=20 Thanks,=20 Christophe=20 ------_=_NextPart_001_01C657CA.34D4ED74 Content-Type: text/html; charset="iso-8859-1" Content-Transfer-Encoding: quoted-printable xml encryption/decryption of binary data
Where you binary=20 datas are stored ? Inside the XML document or outside the document ? = Actualy I=20 am "using" XML security to encryt external binary = data and may be=20 I can help you if you explain me the problem in = detail.
 
Regards. Yvan=20 Hess

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

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

why don=B4t you just use Java crypt = primitives for=20 that?
 
----- Original Message -----
From:=20 Larchier=20 Christophe
To: security-dev@xml.apache.org=20
Sent: Friday, March 31, 2006 = 4:41=20 AM
Subject: RE: xml = encryption/decryption=20 of binary data

Nobody uses xml encryption with binary datas = ???
 
-----Message d'origine-----
De : Larchier = Christophe=20 [mailto:clarchier@axway.com]
Envoy=E9 : mercredi 29 = mars 2006=20 17:41
=C0 : security-dev@xml.apache.org
Objet :=20 xml encryption/decryption of binary data

Hi all,

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

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

<PurchaseOrder> =
...
</PurchaseOrder>


After encrypting/decrypting, I get = only=20 :

<PurchaseOrder> =
...
</PurchaseOrder>


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


How do you manage this ? =

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

Thanks,
Christophe=20

------_=_NextPart_001_01C657CA.34D4ED74--