Minor typo?

Hi Joseph,

http://www.w3.org/Encryption/2001/Drafts/xmlenc-core/
$Revision: 1.86 $

---------------------------------

2.2.1 EncryptedData with Symmetric Key  (KeyName)
  [s4]     <ds:KeyName>
             John Smith
           </ds:KeyName>

Should this be

  [s4]     <ds:KeyName>John Smith</ds:KeyName>

? I mean in 2.2.2 EncryptedKey, there is a reference to

  [t13]     <ds:KeyName>John Smith</ds:KeyName>

---------------------------------

Another comment is in Section 2.2.2 EncryptedKey, there is the following 
sentence:

   [t15] The CipherData's CipherValue is
   an octet sequence that is encoded (e.g.,
   padded) by a referring encrypted object's
   EncryptionMethod.

From what I see, the Padding which was mentioned as example is part of the 
EncryptionMethod, so the encoding sequence is

  1. serialization to octets
  2. in case of EncryptedData nonce handling
  3. encryption
     3.1 padding
     3.2 block cipher application
  4. base64 encoding

so padding is am integral part ot the encryption and cannot be used as 
example for encoding.

---------------------------------

Regards,
Christian

Received on Wednesday, 12 December 2001 04:41:00 UTC