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

Re: decryption transcoding question

From: Joseph Reagle <reagle@w3.org>
Date: Fri, 11 Jan 2002 15:04:13 -0500
Message-Id: <200201112004.PAA27871@tux.w3.org>
To: <hirsch@zolera.com>, <xml-encryption@w3.org>
On Friday 11 January 2002 10:23, Frederick Hirsch wrote:
> Shouldn't the application do this transcoding? This way the decryptor can
> provide an application the decryption result in UTF-8 and it is up to the
> app to know the transcoding (since a general decryptor may not support
> all encodings)

My understanding is that sentence is about the decryptor, "The decryptor 
SHOULD support the ability to replace the EncryptedData... The application 
supplies the XML document context and identifies the EncryptedData element 
being replaced. If the document into which the replacement is occuring is 
not UTF-8, the decryptor MUST transcode the UTF-8 encoded characters into 
the target encoding."

The option you advocate is the 2nd one, "The decryptor MUST be able to 
return the value of Type and the UTF-8 encoded XML character data." 
However, the decryptor SHOULD be able to do it, and if it does then it MUST 
be able to handle the target encoding.


Joseph Reagle Jr.                 http://www.w3.org/People/Reagle/
W3C Policy Analyst                mailto:reagle@w3.org
IETF/W3C XML-Signature Co-Chair   http://www.w3.org/Signature/
W3C XML Encryption Chair          http://www.w3.org/Encryption/2001/
Received on Friday, 11 January 2002 15:04:30 UTC

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