OASIS Mailing List ArchivesView the OASIS mailing list archive below
or browse/search using MarkMail.

 


Help: OASIS Mailing Lists Help | MarkMail Help

dss message

[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]


Subject: Re: [dss] Core protocol: is the <Status> element the status of what has been validated ?


At 08:40 PM 10/23/2003 +0200, Juan Carlos Cruellas Ibarz wrote:


>Well, after all this writing I think that one proposal is:

I like the first more than the 2nd.

I think the <dss:Status> element in the 1st should have a minOccurs="0", so 
it can be omitted when the request fails.

But could we switch the names around? - i.e. use <Status> for whether the 
request succeeded or not, and maybe have a <VerificationResult> for whether 
the signature is valid? (is this a QName, by the way, or something 
else?).  Using <Status> in that way would be more consistent with SAML, 
which we're using as a model in other respects.


Trevor


> >> ><xs:element name="SignResponse">
> >> >     <xs:complexType>
> >> >         <xs:sequence>
> >> >             <xs:element ref="ServerProcessingResult">
> >> >             <xs:element ref="dss:Signature" minOccurs="0"/>
> >> >             <xs:element ref="dss:Outputs" minOccurs="0"/>
> >> >         </xs:sequence>
> >> >     </xs:complexType>
> >> ></xs:element>
> >> >
> >> ><xs:element name="VerifyResponse">
> >> >     <xs:complexType>
> >> >         <xs:sequence>
> >> >             <xs:element ref="ServerProcessingResult">
> >> >             <xs:element ref="dss:Status"/>
> >> >             <xs:element ref="dss:Outputs" minOccurs="0"/>
> >> >         </xs:sequence>
> >> >     </xs:complexType>
> >> ></xs:element>
>
>
>And the other is:
>
> >> ><xs:element name="SignResponse">
> >> >     <xs:complexType>
> >> >         <xs:sequence>
> >> >             <xs:element ref="Result">
> >> >             <xs:element ref="dss:Signature" minOccurs="0"/>
> >> >             <xs:element ref="dss:Outputs" minOccurs="0"/>
> >> >         </xs:sequence>
> >> >     </xs:complexType>
> >> ></xs:element>
> >> >
> >> ><xs:element name="VerifyResponse">
> >> >     <xs:complexType>
> >> >         <xs:sequence>
> >> >             <xs:element ref="Result">
> >> >             <xs:element ref="dss:Outputs" minOccurs="0"/>
> >> >         </xs:sequence>
> >> >     </xs:complexType>
> >> ></xs:element>
>
> >> ><xs:element name="Result">
> >> >     <xs:complexType>
> >> >         <xs:sequence>
> >> >             <xs:element ref="ServerProcessingResult">
> >> >             <xs:element ref="dss:Status" minOccurs="0"/>
> >> >         </xs:sequence>
> >> >     </xs:complexType>
> >> ></xs:element>




[Date Prev] | [Thread Prev] | [Thread Next] | [Date Next] -- [Date Index] | [Thread Index] | [List Home]