W3C home > Mailing lists > Public > xml-encryption@w3.org > March 2002

question about crypted large ammout of data inside XML

From: Nedelcho Stanev <nstanev@syntrex.com>
Date: Wed, 20 Mar 2002 17:05:20 +0100
Message-ID: <06e701c1d029$0ae215f0$3402a8c0@DARKSTAR>
To: <xml-encryption@w3.org>

I read lots of mails about signing and encryption, but i have problem
that not yet covered in these drafts.
When a somebody send a big file, for example 5GB
if i want to encrypt and sign it and put in in XML
i must send first signature and after this body of file
as described in
in "How do I use XML Signatures and XML Encryption together?" part.
but this means that file must be loaded in memory, calculated digest and
after this crypted ...
but, if i want to do this with streams, i don't know sha before end of file.
the example is
<client> ---<server>
and normaly i have something like
  <raw data> base64 encoded </raw data> ( this can be very large block of
data , and i need to send this with streaming )
  <signature of raw data> base64 encoded </signature of raw data>
  <some other attributes> .... </some other attributes>
if client send to server large file, they don't know signature before end of
so , my question is : may there are some new drafts describing this problem
or may be better solution is to change places, first encrypted data, and
after this signature of encrypted data.

Nedelcho Stanev
Syntrex Inc.
Padova, Italy.
Received on Wednesday, 20 March 2002 11:05:36 UTC

This archive was generated by hypermail 2.3.1 : Tuesday, 6 January 2015 20:32:03 UTC