[507] | 1 | <?xml version="1.0" encoding="utf-8"?>
|
---|
| 2 |
|
---|
| 3 | <!--
|
---|
| 4 | <!DOCTYPE schema
|
---|
| 5 | PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd"
|
---|
| 6 | [
|
---|
| 7 | <!ATTLIST schema
|
---|
| 8 | xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#">
|
---|
| 9 | <!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'>
|
---|
| 10 | <!ENTITY % p ''>
|
---|
| 11 | <!ENTITY % s ''>
|
---|
| 12 | ]>
|
---|
| 13 | -->
|
---|
| 14 |
|
---|
| 15 | <!-- Schema for XML Signatures
|
---|
| 16 | http://www.w3.org/2000/09/xmldsig#
|
---|
| 17 | $Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $
|
---|
| 18 |
|
---|
| 19 | Copyright 2001 The Internet Society and W3C (Massachusetts Institute
|
---|
| 20 | of Technology, Institut National de Recherche en Informatique et en
|
---|
| 21 | Automatique, Keio University). All Rights Reserved.
|
---|
| 22 | http://www.w3.org/Consortium/Legal/
|
---|
| 23 |
|
---|
| 24 | This document is governed by the W3C Software License [1] as described
|
---|
| 25 | in the FAQ [2].
|
---|
| 26 |
|
---|
| 27 | [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720
|
---|
| 28 | [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD
|
---|
| 29 | -->
|
---|
| 30 |
|
---|
| 31 |
|
---|
| 32 | <schema xmlns="http://www.w3.org/2001/XMLSchema"
|
---|
| 33 | xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
|
---|
| 34 | targetNamespace="http://www.w3.org/2000/09/xmldsig#"
|
---|
| 35 | version="0.1" elementFormDefault="qualified">
|
---|
| 36 |
|
---|
| 37 | <!-- Basic Types Defined for Signatures -->
|
---|
| 38 |
|
---|
| 39 | <simpleType name="CryptoBinary">
|
---|
| 40 | <restriction base="base64Binary">
|
---|
| 41 | </restriction>
|
---|
| 42 | </simpleType>
|
---|
| 43 |
|
---|
| 44 | <!-- Start Signature -->
|
---|
| 45 |
|
---|
| 46 | <element name="Signature" type="ds:SignatureType"/>
|
---|
| 47 | <complexType name="SignatureType">
|
---|
| 48 | <sequence>
|
---|
| 49 | <element ref="ds:SignedInfo"/>
|
---|
| 50 | <element ref="ds:SignatureValue"/>
|
---|
| 51 | <element ref="ds:KeyInfo" minOccurs="0"/>
|
---|
| 52 | <element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
|
---|
| 53 | </sequence>
|
---|
| 54 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 55 | </complexType>
|
---|
| 56 |
|
---|
| 57 | <element name="SignatureValue" type="ds:SignatureValueType"/>
|
---|
| 58 | <complexType name="SignatureValueType">
|
---|
| 59 | <simpleContent>
|
---|
| 60 | <extension base="base64Binary">
|
---|
| 61 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 62 | </extension>
|
---|
| 63 | </simpleContent>
|
---|
| 64 | </complexType>
|
---|
| 65 |
|
---|
| 66 | <!-- Start SignedInfo -->
|
---|
| 67 |
|
---|
| 68 | <element name="SignedInfo" type="ds:SignedInfoType"/>
|
---|
| 69 | <complexType name="SignedInfoType">
|
---|
| 70 | <sequence>
|
---|
| 71 | <element ref="ds:CanonicalizationMethod"/>
|
---|
| 72 | <element ref="ds:SignatureMethod"/>
|
---|
| 73 | <element ref="ds:Reference" maxOccurs="unbounded"/>
|
---|
| 74 | </sequence>
|
---|
| 75 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 76 | </complexType>
|
---|
| 77 |
|
---|
| 78 | <element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
|
---|
| 79 | <complexType name="CanonicalizationMethodType" mixed="true">
|
---|
| 80 | <sequence>
|
---|
| 81 | <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
|
---|
| 82 | <!-- (0,unbounded) elements from (1,1) namespace -->
|
---|
| 83 | </sequence>
|
---|
| 84 | <attribute name="Algorithm" type="anyURI" use="required"/>
|
---|
| 85 | </complexType>
|
---|
| 86 |
|
---|
| 87 | <element name="SignatureMethod" type="ds:SignatureMethodType"/>
|
---|
| 88 | <complexType name="SignatureMethodType" mixed="true">
|
---|
| 89 | <sequence>
|
---|
| 90 | <element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
|
---|
| 91 | <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
---|
| 92 | <!-- (0,unbounded) elements from (1,1) external namespace -->
|
---|
| 93 | </sequence>
|
---|
| 94 | <attribute name="Algorithm" type="anyURI" use="required"/>
|
---|
| 95 | </complexType>
|
---|
| 96 |
|
---|
| 97 | <!-- Start Reference -->
|
---|
| 98 |
|
---|
| 99 | <element name="Reference" type="ds:ReferenceType"/>
|
---|
| 100 | <complexType name="ReferenceType">
|
---|
| 101 | <sequence>
|
---|
| 102 | <element ref="ds:Transforms" minOccurs="0"/>
|
---|
| 103 | <element ref="ds:DigestMethod"/>
|
---|
| 104 | <element ref="ds:DigestValue"/>
|
---|
| 105 | </sequence>
|
---|
| 106 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 107 | <attribute name="URI" type="anyURI" use="optional"/>
|
---|
| 108 | <attribute name="Type" type="anyURI" use="optional"/>
|
---|
| 109 | </complexType>
|
---|
| 110 |
|
---|
| 111 | <element name="Transforms" type="ds:TransformsType"/>
|
---|
| 112 | <complexType name="TransformsType">
|
---|
| 113 | <sequence>
|
---|
| 114 | <element ref="ds:Transform" maxOccurs="unbounded"/>
|
---|
| 115 | </sequence>
|
---|
| 116 | </complexType>
|
---|
| 117 |
|
---|
| 118 | <element name="Transform" type="ds:TransformType"/>
|
---|
| 119 | <complexType name="TransformType" mixed="true">
|
---|
| 120 | <choice minOccurs="0" maxOccurs="unbounded">
|
---|
| 121 | <any namespace="##other" processContents="lax"/>
|
---|
| 122 | <!-- (1,1) elements from (0,unbounded) namespaces -->
|
---|
| 123 | <element name="XPath" type="string"/>
|
---|
| 124 | </choice>
|
---|
| 125 | <attribute name="Algorithm" type="anyURI" use="required"/>
|
---|
| 126 | </complexType>
|
---|
| 127 |
|
---|
| 128 | <!-- End Reference -->
|
---|
| 129 |
|
---|
| 130 | <element name="DigestMethod" type="ds:DigestMethodType"/>
|
---|
| 131 | <complexType name="DigestMethodType" mixed="true">
|
---|
| 132 | <sequence>
|
---|
| 133 | <any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
|
---|
| 134 | </sequence>
|
---|
| 135 | <attribute name="Algorithm" type="anyURI" use="required"/>
|
---|
| 136 | </complexType>
|
---|
| 137 |
|
---|
| 138 | <element name="DigestValue" type="ds:DigestValueType"/>
|
---|
| 139 | <simpleType name="DigestValueType">
|
---|
| 140 | <restriction base="base64Binary"/>
|
---|
| 141 | </simpleType>
|
---|
| 142 |
|
---|
| 143 | <!-- End SignedInfo -->
|
---|
| 144 |
|
---|
| 145 | <!-- Start KeyInfo -->
|
---|
| 146 |
|
---|
| 147 | <element name="KeyInfo" type="ds:KeyInfoType"/>
|
---|
| 148 | <complexType name="KeyInfoType" mixed="true">
|
---|
| 149 | <choice maxOccurs="unbounded">
|
---|
| 150 | <element ref="ds:KeyName"/>
|
---|
| 151 | <element ref="ds:KeyValue"/>
|
---|
| 152 | <element ref="ds:RetrievalMethod"/>
|
---|
| 153 | <element ref="ds:X509Data"/>
|
---|
| 154 | <element ref="ds:PGPData"/>
|
---|
| 155 | <element ref="ds:SPKIData"/>
|
---|
| 156 | <element ref="ds:MgmtData"/>
|
---|
| 157 | <any processContents="lax" namespace="##other"/>
|
---|
| 158 | <!-- (1,1) elements from (0,unbounded) namespaces -->
|
---|
| 159 | </choice>
|
---|
| 160 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 161 | </complexType>
|
---|
| 162 |
|
---|
| 163 | <element name="KeyName" type="string"/>
|
---|
| 164 | <element name="MgmtData" type="string"/>
|
---|
| 165 |
|
---|
| 166 | <element name="KeyValue" type="ds:KeyValueType"/>
|
---|
| 167 | <complexType name="KeyValueType" mixed="true">
|
---|
| 168 | <choice>
|
---|
| 169 | <element ref="ds:DSAKeyValue"/>
|
---|
| 170 | <element ref="ds:RSAKeyValue"/>
|
---|
| 171 | <any namespace="##other" processContents="lax"/>
|
---|
| 172 | </choice>
|
---|
| 173 | </complexType>
|
---|
| 174 |
|
---|
| 175 | <element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
|
---|
| 176 | <complexType name="RetrievalMethodType">
|
---|
| 177 | <sequence>
|
---|
| 178 | <element ref="ds:Transforms" minOccurs="0"/>
|
---|
| 179 | </sequence>
|
---|
| 180 | <attribute name="URI" type="anyURI"/>
|
---|
| 181 | <attribute name="Type" type="anyURI" use="optional"/>
|
---|
| 182 | </complexType>
|
---|
| 183 |
|
---|
| 184 | <!-- Start X509Data -->
|
---|
| 185 |
|
---|
| 186 | <element name="X509Data" type="ds:X509DataType"/>
|
---|
| 187 | <complexType name="X509DataType">
|
---|
| 188 | <sequence maxOccurs="unbounded">
|
---|
| 189 | <choice>
|
---|
| 190 | <element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
|
---|
| 191 | <element name="X509SKI" type="base64Binary"/>
|
---|
| 192 | <element name="X509SubjectName" type="string"/>
|
---|
| 193 | <element name="X509Certificate" type="base64Binary"/>
|
---|
| 194 | <element name="X509CRL" type="base64Binary"/>
|
---|
| 195 | <any namespace="##other" processContents="lax"/>
|
---|
| 196 | </choice>
|
---|
| 197 | </sequence>
|
---|
| 198 | </complexType>
|
---|
| 199 |
|
---|
| 200 | <complexType name="X509IssuerSerialType">
|
---|
| 201 | <sequence>
|
---|
| 202 | <element name="X509IssuerName" type="string"/>
|
---|
| 203 | <element name="X509SerialNumber" type="integer"/>
|
---|
| 204 | </sequence>
|
---|
| 205 | </complexType>
|
---|
| 206 |
|
---|
| 207 | <!-- End X509Data -->
|
---|
| 208 |
|
---|
| 209 | <!-- Begin PGPData -->
|
---|
| 210 |
|
---|
| 211 | <element name="PGPData" type="ds:PGPDataType"/>
|
---|
| 212 | <complexType name="PGPDataType">
|
---|
| 213 | <choice>
|
---|
| 214 | <sequence>
|
---|
| 215 | <element name="PGPKeyID" type="base64Binary"/>
|
---|
| 216 | <element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
|
---|
| 217 | <any namespace="##other" processContents="lax" minOccurs="0"
|
---|
| 218 | maxOccurs="unbounded"/>
|
---|
| 219 | </sequence>
|
---|
| 220 | <sequence>
|
---|
| 221 | <element name="PGPKeyPacket" type="base64Binary"/>
|
---|
| 222 | <any namespace="##other" processContents="lax" minOccurs="0"
|
---|
| 223 | maxOccurs="unbounded"/>
|
---|
| 224 | </sequence>
|
---|
| 225 | </choice>
|
---|
| 226 | </complexType>
|
---|
| 227 |
|
---|
| 228 | <!-- End PGPData -->
|
---|
| 229 |
|
---|
| 230 | <!-- Begin SPKIData -->
|
---|
| 231 |
|
---|
| 232 | <element name="SPKIData" type="ds:SPKIDataType"/>
|
---|
| 233 | <complexType name="SPKIDataType">
|
---|
| 234 | <sequence maxOccurs="unbounded">
|
---|
| 235 | <element name="SPKISexp" type="base64Binary"/>
|
---|
| 236 | <any namespace="##other" processContents="lax" minOccurs="0"/>
|
---|
| 237 | </sequence>
|
---|
| 238 | </complexType>
|
---|
| 239 |
|
---|
| 240 | <!-- End SPKIData -->
|
---|
| 241 |
|
---|
| 242 | <!-- End KeyInfo -->
|
---|
| 243 |
|
---|
| 244 | <!-- Start Object (Manifest, SignatureProperty) -->
|
---|
| 245 |
|
---|
| 246 | <element name="Object" type="ds:ObjectType"/>
|
---|
| 247 | <complexType name="ObjectType" mixed="true">
|
---|
| 248 | <sequence minOccurs="0" maxOccurs="unbounded">
|
---|
| 249 | <any namespace="##any" processContents="lax"/>
|
---|
| 250 | </sequence>
|
---|
| 251 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 252 | <attribute name="MimeType" type="string" use="optional"/> <!-- add a grep facet -->
|
---|
| 253 | <attribute name="Encoding" type="anyURI" use="optional"/>
|
---|
| 254 | </complexType>
|
---|
| 255 |
|
---|
| 256 | <element name="Manifest" type="ds:ManifestType"/>
|
---|
| 257 | <complexType name="ManifestType">
|
---|
| 258 | <sequence>
|
---|
| 259 | <element ref="ds:Reference" maxOccurs="unbounded"/>
|
---|
| 260 | </sequence>
|
---|
| 261 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 262 | </complexType>
|
---|
| 263 |
|
---|
| 264 | <element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
|
---|
| 265 | <complexType name="SignaturePropertiesType">
|
---|
| 266 | <sequence>
|
---|
| 267 | <element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
|
---|
| 268 | </sequence>
|
---|
| 269 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 270 | </complexType>
|
---|
| 271 |
|
---|
| 272 | <element name="SignatureProperty" type="ds:SignaturePropertyType"/>
|
---|
| 273 | <complexType name="SignaturePropertyType" mixed="true">
|
---|
| 274 | <choice maxOccurs="unbounded">
|
---|
| 275 | <any namespace="##other" processContents="lax"/>
|
---|
| 276 | <!-- (1,1) elements from (1,unbounded) namespaces -->
|
---|
| 277 | </choice>
|
---|
| 278 | <attribute name="Target" type="anyURI" use="required"/>
|
---|
| 279 | <attribute name="Id" type="ID" use="optional"/>
|
---|
| 280 | </complexType>
|
---|
| 281 |
|
---|
| 282 | <!-- End Object (Manifest, SignatureProperty) -->
|
---|
| 283 |
|
---|
| 284 | <!-- Start Algorithm Parameters -->
|
---|
| 285 |
|
---|
| 286 | <simpleType name="HMACOutputLengthType">
|
---|
| 287 | <restriction base="integer"/>
|
---|
| 288 | </simpleType>
|
---|
| 289 |
|
---|
| 290 | <!-- Start KeyValue Element-types -->
|
---|
| 291 |
|
---|
| 292 | <element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
|
---|
| 293 | <complexType name="DSAKeyValueType">
|
---|
| 294 | <sequence>
|
---|
| 295 | <sequence minOccurs="0">
|
---|
| 296 | <element name="P" type="ds:CryptoBinary"/>
|
---|
| 297 | <element name="Q" type="ds:CryptoBinary"/>
|
---|
| 298 | </sequence>
|
---|
| 299 | <element name="G" type="ds:CryptoBinary" minOccurs="0"/>
|
---|
| 300 | <element name="Y" type="ds:CryptoBinary"/>
|
---|
| 301 | <element name="J" type="ds:CryptoBinary" minOccurs="0"/>
|
---|
| 302 | <sequence minOccurs="0">
|
---|
| 303 | <element name="Seed" type="ds:CryptoBinary"/>
|
---|
| 304 | <element name="PgenCounter" type="ds:CryptoBinary"/>
|
---|
| 305 | </sequence>
|
---|
| 306 | </sequence>
|
---|
| 307 | </complexType>
|
---|
| 308 |
|
---|
| 309 | <element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
|
---|
| 310 | <complexType name="RSAKeyValueType">
|
---|
| 311 | <sequence>
|
---|
| 312 | <element name="Modulus" type="ds:CryptoBinary"/>
|
---|
| 313 | <element name="Exponent" type="ds:CryptoBinary"/>
|
---|
| 314 | </sequence>
|
---|
| 315 | </complexType>
|
---|
| 316 |
|
---|
| 317 | <!-- End KeyValue Element-types -->
|
---|
| 318 |
|
---|
| 319 | <!-- End Signature -->
|
---|
| 320 |
|
---|
| 321 | </schema>
|
---|