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
: 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
: 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
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
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:
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
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
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
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
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
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
: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
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
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
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
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
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
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
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
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
20 matches
Mail list logo