W3C home > Mailing lists > Public > public-xmlsec@w3.org > January 2011

ACTION-764: Review placement of base64 alg in 1.1/2.0, should it be under transforms?

From: Brian LaMacchia <bal@microsoft.com>
Date: Tue, 11 Jan 2011 01:12:23 +0000
To: "public-xmlsec@w3.org" <public-xmlsec@w3.org>
Message-ID: <3D9A599D97FFC643A4B7A0710BEF4D9918BA5C@TK5EX14MBXC227.redmond.corp.microsoft.com>
ACTION-764 asks whether we should re-classify Base64 as a Transform Algorithm from an Encoding Algorithm in the required algorithms list (in, e.g., XMLDSIG 1.1 Section 6.1).


Looking at XMLDSIG 1.1 and XMLENC 1.1, it appears that we use the same Base64 URI in both "encoding algorithm" and "transform algorithm" contexts, and the URI is a valid in both.  For example,  in XMLDSIG 1.1 Section 4.6, there's an example in the text where we talk about putting a PNG image in an <Object> element and identifying it with encoding=<the base64 encoding URI>.  And we have a defined Encoding attribute on Object in the schema.   (We use a similar example in XMLENC Section 3.1 EncryptedType.)



I haven't checked in 2.0 yet, but given the existing usage in 1.1 I'm not sure I'd move it under Transforms.



                                                                                --bal
Received on Tuesday, 11 January 2011 01:12:59 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Tuesday, 11 January 2011 01:13:00 GMT