Encryption overview comment

Hi all, 

In message
http://lists.w3.org/Archives/Public/w3c-ietf-xmldsig/2001JulSep/0165.html,
Joseph adopted a minor modification I suggested to the `shorthand`
high-level description of DSIG appearing in the spec. I now looked more
carefully also at the `shorthand` which Don used to provide high-level
description of XML Encrypt object. 

Let me offer some new text to describe the shorthand and a slightly improved
shorthand version, to be consistent btw DSIG and XML Encrypt and more well
defined.

We show below, in a simplified, `shorthand` notation, the structure of XML
Encryption. Elements appear zero or more times if followed by "*", zero or
once if followed by "?" and once or more if followed by "+". When not
followed by a symbol, elements appear exactly once. Attributes were removed,
as well as the contents and end tag of some elements. The `wildcard`
character `*` is used instead of an element name to denote an arbitrary
element. 

<EncryptedData>
	<EncryptionMethod/>?
	<ds:KeyInfo>
   		<EncryptedKey>?
		<AgreementMethod>?
   		<ds:KeyName>?
		<ds:RetrivalMethod>?
		<ds:*>?
  	</ds:KeyInfo>?
	<CipherData>
    		<CipherValue/>?
    		<CipherReference>?
		<DigestMethod>?
		<DigestValue>?
	</CipherData>
</EncryptedData>

Best regards, 
Amir Herzberg
CTO, NewGenPay Inc.  
http://www.newgenpay.com/Amir/Herzberg.htm
SMS (urgent only!): _subject_ of email to aherzberg@walla.co.il

Received on Monday, 3 September 2001 05:54:43 UTC