XML Encryption 1.1 update for base64 clarity

I have revised the XML Encryption 1.1 editors draft to clarify the note and text related to base64 encoding.

I have changed the base64 note in the algorithms section (section 5) from

[[
*note: Note that the same URI is used to identify base64 both in "encoding" context (e.g. when needed within a CipherValue element) as well as in "transform" context (when identifying a base64 transform)
]]

to

[[
*note: The same URI is used to identify base64 both in "encoding" context (e.g. when used with the Encoding attribute of an EncryptedKey element, see section 3.1 The EncryptedType Element<file:///Materials/Builds/xmlsec2/Drafts/xmlenc-core-11/Overview.src.html#sec-EncryptedType>) as well as in "transform" context (when identifying a base64 transform for a CipherReference, see section 3.3.1 The CipherReference Element<file:///Materials/Builds/xmlsec2/Drafts/xmlenc-core-11/Overview.src.html#sec-CipherReference>).
]]

http://www.w3.org/2008/xmlsec/Drafts/xmlenc-core-11/Overview.html#base64note

For visibility I also added the following to the end of section 3.1:

[[

Encoding is an optional (advisory) attribute which describes the transfer encoding of the data that has been encrypted.

]]

(the previous MimeType paragraph outlines its use in conjunction with MimeType and gives base64 as an example)

http://www.w3.org/2008/xmlsec/Drafts/xmlenc-core-11/Overview.html#sec-EncryptedType

This should resolve LC-2542

Please indicate any correction or comment on the public list.

(By the way I double checked and the original (current) XML Encryption Recommendation has the same text regarding Encoding and base64 as well as use in the transform).

regards, Frederick

Frederick Hirsch
Nokia

Received on Thursday, 18 August 2011 14:22:30 UTC