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