Nonce in EncryptedData or CipherData

Hi,

in [1], section "3.3 The EncryptedData Element" tells me the existence of 
the Nonce attribute being child of the EncryptedData element:

  xenc:EncryptedData/@Nonce

Section 4.1 bullet 3.3 tells me that "The encryptor MUST specify the 
nonce's length in CipherData's Nonce attribute. " which would mean:

  xenc:CipherData/@Nonce


I assume that these both attributes are the same and one of the both is a 
typo. Which one?

And to make this all a little more obfuscated, we even have an xenc:Nonce 
ELEMENT as child of the xenc:AgreementMethod element. I would suggest to 
give this element babe another name like xenc:DHNonce because an attribute 
and an element with the same name doesn't look very clear.

Christian







[1] http://www.w3.org/Encryption/2001/Drafts/xmlenc-core/
    revision 1.92

Received on Wednesday, 2 January 2002 08:38:18 UTC