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

Re: Encrypting "enitre XML document"

From: Donald Eastlake 3rd <dee3@torque.pothole.com>
Date: Wed, 20 Nov 2002 20:21:27 -0500 (EST)
To: Pae Choi <paechoi@earthlink.net>
Cc: xml-encryption@w3.org
Message-ID: <Pine.LNX.4.44.0211202018420.23350-100000@netbusters.com>

I guess it depends a bit on what you want to do. If you think of the XML 
as just characters, you obviously encrypt it all. If you want to encrypt 
it as XML, you might be canonicalizing it anyway which will eliminate 
the XMK declaration.

Donald

On Wed, 20 Nov 2002, Pae Choi wrote:

> Date: Wed, 20 Nov 2002 00:16:44 -0800
> From: Pae Choi <paechoi@earthlink.net>
> To: xml-encryption@w3.org
> Subject: Encrypting "enitre XML document"
> Resent-Date: Wed, 20 Nov 2002 00:19:18 -0500 (EST)
> Resent-From: xml-encryption@w3.org
> 
> 
> Under the section,  "1. Instroduction", in the [1]XML Encryption, it
> stated as follwos:
> 
> 
>     1 Introduction
> 
>     <snip/>
>     When encrypting arbitrary data (including entire XML documents), the
>     EncryptedData element may become the root of a new XML document or
>     become a child element in an application-chosen XML document.
> 
> 
> I  have a question in encrypting the "entire XML document." Say we
> have an XML document as follows:
> 
> <?xml version="1.0" encoding="UTF-8"?>
> <PatientInfo>
>     <Patient>
>     </Patient>
> </PatientInfo>
> 
> Should we encrypt the entire document literally beginning from the
> XMLDecl, "<?xml version="1.0" encoding="UTF-8"?>", or exclude that.
> 
> Regards,
> 
> 
> Pae
> 
> 
> [1] http://www.w3.org/TR/xmlenc-core/
> 
> 

-- 
======================================================================
 Donald E. Eastlake 3rd                       dee3@torque.pothole.com
 155 Beaver Street              +1-508-634-2066(h) +1-508-851-8280(w)
 Milford, MA 01757 USA                   Donald.Eastlake@motorola.com
Received on Wednesday, 20 November 2002 20:21:28 UTC

This archive was generated by hypermail 2.4.0 : Friday, 17 January 2020 23:13:10 UTC