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

Re: Updated (v2) proposed XML Encryption 1.1 changes related to OAEP

From: <Frederick.Hirsch@nokia.com>
Date: Fri, 7 Oct 2011 12:35:16 +0000
To: <mnystrom@microsoft.com>
CC: <Frederick.Hirsch@nokia.com>, <public-xmlsec@w3.org>
Message-ID: <2F76CB97-29C4-406F-B56C-1DE0072EE468@nokia.com>
Good point.

Anyone have any problem with the following additional to change to the proposal:

1. remove statement that MGF is in xenc11 namespace, remove xenc11 prefix from MGF use in text

2. add optional MGF attribute to EncryptionMethod in enc-schema.xsd:

 <complexType name='EncryptionMethodType' mixed='true'>
    <sequence>
      <element name='KeySize' minOccurs='0' type='xenc:KeySizeType'/>
      <element name='OAEPparams' minOccurs='0' type='base64Binary'/>
      <any namespace='##other' minOccurs='0' maxOccurs='unbounded'/>
    </sequence>
    <attribute name='Algorithm' type='anyURI' use='required'/>
    <attribute name='MGF' type='anyURI' use='optional'/>
  </complexType>

Note that this is not the 1.1 schema but the 1.0 schema. However, this seems appropriate and as the new attribute is optional should not hurt existing implementations.

ok?

regards, Frederick

Frederick Hirsch
Nokia



On Oct 7, 2011, at 1:33 AM, ext Magnus Nystrom wrote:

Frederick, looks good to me but can you just add an attribute (even if optional) to the existing xenc: schema (even if the attribute itself is defined in xenc11)?

-- Magnus

From: public-xmlsec-request@w3.org<mailto:public-xmlsec-request@w3.org> [mailto:public-xmlsec-request@w3.org] On Behalf Of Frederick.Hirsch@nokia.com<mailto:Frederick.Hirsch@nokia.com>
Sent: Thursday, October 06, 2011 10:15 AM
To: public-xmlsec@w3.org<mailto:public-xmlsec@w3.org>
Cc: Frederick.Hirsch@nokia.com<mailto:Frederick.Hirsch@nokia.com>
Subject: Updated (v2) proposed XML Encryption 1.1 changes related to OAEP

Attached is updated (V2) clean and redline proposed XML Encryption 1.1 changes.

Shifted from using "Label" to "PSourceAlgorithm"

Corrected EncryptionMethod to be in xenc: namespace

Updated Algorithm Identifiers and Implementation Requriements to list two URIs for RSA-OAEP, with required for original - added note " (including MGF1 with SHA1) "
and new URI for version that allows specification of MGF (optional)

Added sentence to 3.2 that MGF attribute is in xenc11 namespace

Cleaned up 5.5.2 to better explain two URIs and parameters use and defaults

Please review and indicate if this is acceptable, if so I'll update the draft.

regards, Frederick

Frederick Hirsch
Nokia
Received on Friday, 7 October 2011 12:35:57 GMT

This archive was generated by hypermail 2.2.0+W3C-0.50 : Friday, 7 October 2011 12:35:58 GMT