RE: xml encryption/decryption of binary data

2006-04-05 Thread Larchier Christophe
quot;, mfue); } return (_ed); } Moreover, I have tested the xmlCipher.decryptToByteArray() function and I confirm that it works for binary datas. Christophe -----Message d'origine- De : Berin Lautenbach [mailto:[EMAIL PROTECTED] Envoyé : mardi 4 avril 2006 12:06 À : security

RE: xml encryption/decryption of binary data

2006-04-04 Thread Hess Yvan
: security-dev@xml.apache.org Subject: Re: xml encryption/decryption of binary data Hess Yvan wrote: > 3. Then I have to encrypt the external binary > "urn:hypersuite:534177D3-C0A8027601B4E829-57982AC1" MANUALLY. I didnt > find a chance to do it using XML security. It seems

RE: xml encryption/decryption of binary data

2006-04-04 Thread Hess Yvan
: security-dev@xml.apache.orgSubject: RE: xml encryption/decryption of binary data OK. To decrypt, there is xmlCipher.decryptToByteArray(), but I haven't tested it yet.   -Message d'origine-De : Hess Yvan [mailto:[EMAIL PROTECTED]Envoyé : mardi 4 avril 2006 11:56À : se

Re: xml encryption/decryption of binary data

2006-04-04 Thread Berin Lautenbach
Hess Yvan wrote: > 3. Then I have to encrypt the external binary > "urn:hypersuite:534177D3-C0A8027601B4E829-57982AC1" MANUALLY. I didnt > find a chance to do it using XML security. It seems that the > functionalilty is implemented into Apache xml-signature but not into > Apache xml-encryption. I

RE: xml encryption/decryption of binary data

2006-04-04 Thread Larchier Christophe
ature but not into Apache xml-encryption. I thing I will have the same problem for decryption :-)   Hope it helps you.   Regards. Yvan     From: Larchier Christophe [mailto:[EMAIL PROTECTED] Sent: mardi, 4. avril 2006 11:37To: security-dev@xml.apache.orgSubject: RE:

RE: xml encryption/decryption of binary data

2006-04-04 Thread Hess Yvan
same problem for decryption :-)   Hope it helps you.   Regards. Yvan     From: Larchier Christophe [mailto:[EMAIL PROTECTED] Sent: mardi, 4. avril 2006 11:37To: security-dev@xml.apache.orgSubject: RE: xml encryption/decryption of binary data The binary datas are externals (payloads of SOAP

RE: xml encryption/decryption of binary data

2006-04-04 Thread Larchier Christophe
XML documents. A23B45C56 -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

RE: xml encryption/decryption of binary data

2006-04-04 Thread Larchier Christophe
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 signatur

RE: xml encryption/decryption of binary data

2006-04-04 Thread Larchier Christophe
s. Yvan Hess From: Larchier Christophe [mailto:[EMAIL PROTECTED] Sent: mardi, 4. avril 2006 10:10To: security-dev@xml.apache.orgSubject: RE: xml encryption/decryption of binary data Which package do you refer to ? If it's possible, I'd prefer not setting the world

RE: xml encryption/decryption of binary data

2006-04-04 Thread Hess Yvan
Yvan Hess From: Larchier Christophe [mailto:[EMAIL PROTECTED] Sent: mardi, 4. avril 2006 10:10To: security-dev@xml.apache.orgSubject: 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

Re: xml encryption/decryption of binary data

2006-04-04 Thread Berin Lautenbach
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

RE: xml encryption/decryption of binary data

2006-04-04 Thread Larchier Christophe
:13À : security-dev@xml.apache.orgObjet : Re: xml encryption/decryption of binary data why don´t you just use Java crypt primitives for that?   - Original Message - From: Larchier Christophe To: security-dev@xml.apache.org Sent: Friday, Marc

Re: xml encryption/decryption of binary data

2006-04-03 Thread Martin Labarthe Dubois
Title: xml encryption/decryption of binary data why don´t you just use Java crypt primitives for that?   - Original Message - From: Larchier Christophe To: security-dev@xml.apache.org Sent: Friday, March 31, 2006 4:41 AM Subject: RE: xml encryption/decryption of

RE: xml encryption/decryption of binary data

2006-04-03 Thread Larchier Christophe
I sign with XML Signature. Note that canonicalization is not allowed. Christophe -Message d'origine- De : Berin Lautenbach [mailto:[EMAIL PROTECTED] Envoyé : samedi 1 avril 2006 12:09 À : security-dev@xml.apache.org Objet : Re: xml encryption/decryption of binary data Lar

Re: xml encryption/decryption of binary data

2006-04-01 Thread Berin Lautenbach
Larchier Christophe wrote: > I have to sign then encrypt the documents, so they must be exactly the same > before and after encryption/decryption. > If the start document has an xml header, the finish document must have the > xml header (even if it is superfluous). > > > Now, as the 2 docume

RE: xml encryption/decryption of binary data

2006-03-31 Thread Larchier Christophe
uot;http://www.w3.org/2001/04/xmlenc#Content";), but > there is still the problem of base64 encoding/decoding. > > Do you have a better idea/solution ? > > Christophe > > > > > -Message d'origine----- > De : Berin Lautenbach [mailto:[EMAIL PRO

Re: xml encryption/decryption of binary data

2006-03-31 Thread Berin Lautenbach
nt";), but > there is still the problem of base64 encoding/decoding. > > Do you have a better idea/solution ? > > Christophe > > > > > -----Message d'origine----- > De : Berin Lautenbach [mailto:[EMAIL PROTECTED] > Envoyé : vendredi 31 mars 2006 10:5

RE: xml encryption/decryption of binary data

2006-03-31 Thread Larchier Christophe
TED] Envoyé : vendredi 31 mars 2006 10:59 À : security-dev@xml.apache.org Objet : Re: xml encryption/decryption of binary data Christophe, I'm not 100% sure I understand the problems, but I'll try to give some thoughts. The xml header is added (or not added) as part of the serialisation

Re: xml encryption/decryption of binary data

2006-03-31 Thread Berin Lautenbach
Christophe, I'm not 100% sure I understand the problems, but I'll try to give some thoughts. The xml header is added (or not added) as part of the serialisation process. How do you serialise your document once you have done the encryption? For the decrypt - that looks fine. Can you post more c

RE: xml encryption/decryption of binary data

2006-03-30 Thread Larchier Christophe
Title: 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.orgObjet : xml encryption/decryption of bin