RE: 2.0 Draft 9

At the moment we have:
   <!-- KeyBinding -->
   <element name="KeyBinding" type="xkms:KeyBindingType" />
   <complexType name="KeyBindingType">
      <sequence>
         <element ref="xkms:KeyInfo" minOccurs="0" />
         <element ref="xkms:PassPhrase" minOccurs="0" />
         <element ref="xkms:ProcessInfo" minOccurs="0" />
         <element ref="xkms:ValidityInterval" minOccurs="0" />
         <element ref="xkms:KeyUsage" minOccurs="0" maxOccurs="3" />
         <element ref="xkms:UseKeyWith" minOccurs="0" maxOccurs="unbounded"
/>
         <element ref="xkms:Reason" minOccurs="0" maxOccurs="unbounded" />
         <any namespace="##other" processContents="lax" minOccurs="0" 
               maxOccurs="unbounded" />
      </sequence>
      <attribute name="ID" type="ID" use="optional" />
   </complexType>
   <element name="KeyBindingQuery" type="xkms:KeyBindingType" />
   <!-- /KeyBinding -->


I think we should add back in status for at least some elements.

We use Keybinding in the following contexts:

LocateRequest
	as KeyBindingQuery
LocateResponse
	as KeyBinding
ValidateRequest
	as KeyBindingQuery
ValidateResponse
	as KeyBinding
RegisterRequest
	as Template
RegisterResponse
	as KeyBinding

I suggest that we should have a structure as follows

KeyBinding  [ ID, KeyInfo, ValidityInterval, KeyUsage, UseKeyWith, other ]
	- LocateKeyBindingQuery 
	- ValidateKeyBindingQuery  	[ Status ?Reason]
	- Template 				[ Passphrase ]
	- KeyBindingResponse 		[ Status, Reason ]

This would be done with the XML type inheritance.

These would corresponse as follows (can argue over the details of the
r*requests..)

LocateRequest		LocateKeyBindingQuery 
LocateResponse		KeyBindingResponse 
ValidateRequest		ValidateKeyBindingQuery  
ValidateResponse		KeyBindingResponse 
RegisterRequest		Template 
RegisterResponse		KeyBindingResponse 
ReissueRequest		LocateKeyBindingQuery 
ReissueResponse		KeyBindingResponse 
RevokeRequest		LocateKeyBindingQuery 
RevokeResponse		KeyBindingResponse 
RecoverRequest		LocateKeyBindingQuery 
RecoverResponse		KeyBindingResponse 


		Phill


> -----Original Message-----
> From: yassir elley [mailto:yassir.elley@Sun.COM]
> Sent: Monday, July 08, 2002 6:11 PM
> To: Blair Dillaway
> Cc: Hallam-Baker, Phillip; Www-Xkms (E-mail)
> Subject: Re: 2.0 Draft 9
> 
> 
> Blair Dillaway wrote:
> > 
> > Thanks for all the work you put in getting this updated.  
> Helps a lot to
> > see all of the changes we've discussed pulled together with 
> examples.
> > Also, love those paragraph numbers.
> > 
> > My one substantive comment regards the revisions to 
> KeyBinding and its
> > use.
> 
> Yes, I had volunteered to do this. I was having some trouble 
> getting at Draft 9, but have recently gotten access to it. I 
> will try to send something out tomorrow.
> 
> -Yassir.
> 

Received on Tuesday, 9 July 2002 11:41:36 UTC