Debian Codegraph @

signxml/xades/schemas/XAdES01903v132-201601.xsd

raw
1 <?xml version="1.0" encoding="UTF-8"?>
2 <xsd:schema targetNamespace="http://uri.etsi.org/01903/v1.3.2#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="http://uri.etsi.org/01903/v1.3.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" elementFormDefault="qualified">
3 <xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="../../schemas/xmldsig-core-schema.xsd"/>
4 <!-- Start auxiliary types definitions: AnyType, ObjectIdentifierType,
5 EncapsulatedPKIDataType and containers for time-stamp tokens -->
6 <!-- Start AnyType -->
7 <xsd:element name="Any" type="AnyType"/>
8 <xsd:complexType name="AnyType" mixed="true">
9 <xsd:sequence minOccurs="0" maxOccurs="unbounded">
10 <xsd:any namespace="##any" processContents="lax"/>
11 </xsd:sequence>
12 <xsd:anyAttribute namespace="##any"/>
13 </xsd:complexType>
14 <!-- End AnyType -->
15 <!-- Start ObjectIdentifierType-->
16 <xsd:element name="ObjectIdentifier" type="ObjectIdentifierType"/>
17 <xsd:complexType name="ObjectIdentifierType">
18 <xsd:sequence>
19 <xsd:element name="Identifier" type="IdentifierType"/>
20 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
21 <xsd:element name="DocumentationReferences" type="DocumentationReferencesType" minOccurs="0"/>
22 </xsd:sequence>
23 </xsd:complexType>
24 <xsd:complexType name="IdentifierType">
25 <xsd:simpleContent>
26 <xsd:extension base="xsd:anyURI">
27 <xsd:attribute name="Qualifier" type="QualifierType" use="optional"/>
28 </xsd:extension>
29 </xsd:simpleContent>
30 </xsd:complexType>
31 <xsd:simpleType name="QualifierType">
32 <xsd:restriction base="xsd:string">
33 <xsd:enumeration value="OIDAsURI"/>
34 <xsd:enumeration value="OIDAsURN"/>
35 </xsd:restriction>
36 </xsd:simpleType>
37 <xsd:complexType name="DocumentationReferencesType">
38 <xsd:sequence maxOccurs="unbounded">
39 <xsd:element name="DocumentationReference" type="xsd:anyURI"/>
40 </xsd:sequence>
41 </xsd:complexType>
42 <!-- End ObjectIdentifierType-->
43 <!-- Start EncapsulatedPKIDataType-->
44 <xsd:element name="EncapsulatedPKIData" type="EncapsulatedPKIDataType"/>
45 <xsd:complexType name="EncapsulatedPKIDataType">
46 <xsd:simpleContent>
47 <xsd:extension base="xsd:base64Binary">
48 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
49 <xsd:attribute name="Encoding" type="xsd:anyURI" use="optional"/>
50 </xsd:extension>
51 </xsd:simpleContent>
52 </xsd:complexType>
53 <!-- End EncapsulatedPKIDataType -->
54 <!-- Start time-stamp containers types -->
55 <!-- Start GenericTimeStampType -->
56 <xsd:element name="Include" type="IncludeType"/>
57 <xsd:complexType name="IncludeType">
58 <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
59 <xsd:attribute name="referencedData" type="xsd:boolean" use="optional"/>
60 </xsd:complexType>
61 <xsd:element name="ReferenceInfo" type="ReferenceInfoType"/>
62 <xsd:complexType name="ReferenceInfoType">
63 <xsd:sequence>
64 <xsd:element ref="ds:DigestMethod"/>
65 <xsd:element ref="ds:DigestValue"/>
66 </xsd:sequence>
67 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
68 <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
69 </xsd:complexType>
70 <xsd:complexType name="GenericTimeStampType" abstract="true">
71 <xsd:sequence>
72 <xsd:choice minOccurs="0">
73 <xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
74 <xsd:element ref="ReferenceInfo" maxOccurs="unbounded"/>
75 </xsd:choice>
76 <xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
77 <xsd:choice maxOccurs="unbounded">
78 <xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
79 <xsd:element name="XMLTimeStamp" type="AnyType"/>
80 </xsd:choice>
81 </xsd:sequence>
82 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
83 </xsd:complexType>
84 <!-- End GenericTimeStampType -->
85 <!-- Start XAdESTimeStampType -->
86 <xsd:element name="XAdESTimeStamp" type="XAdESTimeStampType"/>
87 <xsd:complexType name="XAdESTimeStampType">
88 <xsd:complexContent>
89 <xsd:restriction base="GenericTimeStampType">
90 <xsd:sequence>
91 <xsd:element ref="Include" minOccurs="0" maxOccurs="unbounded"/>
92 <xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
93 <xsd:choice maxOccurs="unbounded">
94 <xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
95 <xsd:element name="XMLTimeStamp" type="AnyType"/>
96 </xsd:choice>
97 </xsd:sequence>
98 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
99 </xsd:restriction>
100 </xsd:complexContent>
101 </xsd:complexType>
102 <!-- End XAdESTimeStampType -->
103 <!-- Start OtherTimeStampType -->
104 <xsd:element name="OtherTimeStamp" type="OtherTimeStampType"/>
105 <xsd:complexType name="OtherTimeStampType">
106 <xsd:complexContent>
107 <xsd:restriction base="GenericTimeStampType">
108 <xsd:sequence>
109 <xsd:element ref="ReferenceInfo" maxOccurs="unbounded"/>
110 <xsd:element ref="ds:CanonicalizationMethod" minOccurs="0"/>
111 <xsd:choice>
112 <xsd:element name="EncapsulatedTimeStamp" type="EncapsulatedPKIDataType"/>
113 <xsd:element name="XMLTimeStamp" type="AnyType"/>
114 </xsd:choice>
115 </xsd:sequence>
116 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
117 </xsd:restriction>
118 </xsd:complexContent>
119 </xsd:complexType>
120 <!-- End OtherTimeStampType -->
121 <!-- End time-stamp containers types -->
122 <!-- End auxiliary types definitions-->
123 <!-- Start container types -->
124 <!-- Start QualifyingProperties -->
125 <xsd:element name="QualifyingProperties" type="QualifyingPropertiesType"/>
126 <xsd:complexType name="QualifyingPropertiesType">
127 <xsd:sequence>
128 <xsd:element ref="SignedProperties" minOccurs="0"/>
129 <xsd:element ref="UnsignedProperties" minOccurs="0"/>
130 </xsd:sequence>
131 <xsd:attribute name="Target" type="xsd:anyURI" use="required"/>
132 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
133 </xsd:complexType>
134 <!-- End QualifyingProperties -->
135 <!-- Start SignedProperties-->
136 <xsd:element name="SignedProperties" type="SignedPropertiesType"/>
137 <xsd:complexType name="SignedPropertiesType">
138 <xsd:sequence>
139 <xsd:element ref="SignedSignatureProperties" minOccurs="0"/>
140 <xsd:element ref="SignedDataObjectProperties" minOccurs="0"/>
141 </xsd:sequence>
142 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
143 </xsd:complexType>
144 <!-- End SignedProperties-->
145 <!-- Start UnsignedProperties-->
146 <xsd:element name="UnsignedProperties" type="UnsignedPropertiesType"/>
147 <xsd:complexType name="UnsignedPropertiesType">
148 <xsd:sequence>
149 <xsd:element ref="UnsignedSignatureProperties" minOccurs="0"/>
150 <xsd:element ref="UnsignedDataObjectProperties" minOccurs="0"/>
151 </xsd:sequence>
152 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
153 </xsd:complexType>
154 <!-- End UnsignedProperties-->
155 <!-- Start SignedSignatureProperties-->
156 <!-- Definition changed: added new optional children for EN -->
157 <xsd:element name="SignedSignatureProperties" type="SignedSignaturePropertiesType"/>
158 <xsd:complexType name="SignedSignaturePropertiesType">
159 <xsd:sequence>
160 <xsd:element ref="SigningTime" minOccurs="0"/>
161 <xsd:element ref="SigningCertificate" minOccurs="0"/>
162 <xsd:element ref="SigningCertificateV2" minOccurs="0"/>
163 <xsd:element ref="SignaturePolicyIdentifier" minOccurs="0"/>
164 <xsd:element ref="SignatureProductionPlace" minOccurs="0"/>
165 <xsd:element ref="SignatureProductionPlaceV2" minOccurs="0"/>
166 <xsd:element ref="SignerRole" minOccurs="0"/>
167 <xsd:element ref="SignerRoleV2" minOccurs="0"/>
168 <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
169 </xsd:sequence>
170 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
171 </xsd:complexType>
172 <!-- End SignedSignatureProperties-->
173 <!-- Start SignedDataObjectProperties-->
174 <xsd:element name="SignedDataObjectProperties" type="SignedDataObjectPropertiesType"/>
175 <xsd:complexType name="SignedDataObjectPropertiesType">
176 <xsd:sequence>
177 <xsd:element ref="DataObjectFormat" minOccurs="0" maxOccurs="unbounded"/>
178 <xsd:element ref="CommitmentTypeIndication" minOccurs="0" maxOccurs="unbounded"/>
179 <xsd:element ref="AllDataObjectsTimeStamp" minOccurs="0" maxOccurs="unbounded"/>
180 <xsd:element ref="IndividualDataObjectsTimeStamp" minOccurs="0" maxOccurs="unbounded"/>
181 <xsd:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
182 </xsd:sequence>
183 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
184 </xsd:complexType>
185 <!-- End SignedDataObjectProperties-->
186 <!-- Start UnsignedSignatureProperties-->
187 <xsd:element name="UnsignedSignatureProperties" type="UnsignedSignaturePropertiesType"/>
188 <xsd:complexType name="UnsignedSignaturePropertiesType">
189 <xsd:choice maxOccurs="unbounded">
190 <xsd:element ref="CounterSignature"/>
191 <xsd:element ref="SignatureTimeStamp"/>
192 <xsd:element ref="CompleteCertificateRefs"/>
193 <xsd:element ref="CompleteRevocationRefs"/>
194 <xsd:element ref="AttributeCertificateRefs"/>
195 <xsd:element ref="AttributeRevocationRefs"/>
196 <xsd:element ref="SigAndRefsTimeStamp"/>
197 <xsd:element ref="RefsOnlyTimeStamp"/>
198 <xsd:element ref="CertificateValues"/>
199 <xsd:element ref="RevocationValues"/>
200 <xsd:element ref="AttrAuthoritiesCertValues"/>
201 <xsd:element ref="AttributeRevocationValues"/>
202 <xsd:element ref="ArchiveTimeStamp"/>
203 <xsd:any namespace="##other"/>
204 </xsd:choice>
205 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
206 </xsd:complexType>
207 <!-- End UnsignedSignatureProperties-->
208 <!-- Start UnsignedDataObjectProperties-->
209 <xsd:element name="UnsignedDataObjectProperties" type="UnsignedDataObjectPropertiesType"/>
210 <xsd:complexType name="UnsignedDataObjectPropertiesType">
211 <xsd:sequence>
212 <xsd:element name="UnsignedDataObjectProperty" type="AnyType" maxOccurs="unbounded"/>
213 </xsd:sequence>
214 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
215 </xsd:complexType>
216 <!-- End UnsignedDataObjectProperties-->
217 <!-- Start QualifyingPropertiesReference-->
218 <xsd:element name="QualifyingPropertiesReference" type="QualifyingPropertiesReferenceType"/>
219 <xsd:complexType name="QualifyingPropertiesReferenceType">
220 <xsd:attribute name="URI" type="xsd:anyURI" use="required"/>
221 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
222 </xsd:complexType>
223 <!-- End QualifyingPropertiesReference-->
224 <!-- End container types -->
225 <!-- Start SigningTime element -->
226 <xsd:element name="SigningTime" type="xsd:dateTime"/>
227 <!-- End SigningTime element -->
228 <!-- Start SigningCertificate -->
229 <xsd:element name="SigningCertificate" type="CertIDListType"/>
230 <xsd:complexType name="CertIDListType">
231 <xsd:sequence>
232 <xsd:element name="Cert" type="CertIDType" maxOccurs="unbounded"/>
233 </xsd:sequence>
234 </xsd:complexType>
235 <xsd:complexType name="CertIDType">
236 <xsd:sequence>
237 <xsd:element name="CertDigest" type="DigestAlgAndValueType"/>
238 <xsd:element name="IssuerSerial" type="ds:X509IssuerSerialType"/>
239 </xsd:sequence>
240 <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
241 </xsd:complexType>
242 <xsd:complexType name="DigestAlgAndValueType">
243 <xsd:sequence>
244 <xsd:element ref="ds:DigestMethod"/>
245 <xsd:element ref="ds:DigestValue"/>
246 </xsd:sequence>
247 </xsd:complexType>
248 <!-- End SigningCertificate -->
249 <!-- Start SigningCertificateV2 and CertIDListV2Type -->
250 <xsd:element name="SigningCertificateV2" type="CertIDListV2Type"/>
251 <xsd:complexType name="CertIDListV2Type">
252 <xsd:sequence>
253 <xsd:element name="Cert" type="CertIDTypeV2" maxOccurs="unbounded"/>
254 </xsd:sequence>
255 </xsd:complexType>
256 <xsd:complexType name="CertIDTypeV2">
257 <xsd:sequence>
258 <xsd:element name="CertDigest" type="DigestAlgAndValueType"/>
259 <xsd:element name="IssuerSerialV2" type="xsd:base64Binary" minOccurs="0"/>
260 </xsd:sequence>
261 <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
262 </xsd:complexType>
263 <!-- End SigningCertificateV2 and CertIDListV2Type -->
264 <!-- Start SignaturePolicyIdentifier -->
265 <xsd:element name="SignaturePolicyIdentifier" type="SignaturePolicyIdentifierType"/>
266 <xsd:complexType name="SignaturePolicyIdentifierType">
267 <xsd:choice>
268 <xsd:element name="SignaturePolicyId" type="SignaturePolicyIdType"/>
269 <xsd:element name="SignaturePolicyImplied"/>
270 </xsd:choice>
271 </xsd:complexType>
272 <xsd:complexType name="SignaturePolicyIdType">
273 <xsd:sequence>
274 <xsd:element name="SigPolicyId" type="ObjectIdentifierType"/>
275 <xsd:element ref="ds:Transforms" minOccurs="0"/>
276 <xsd:element name="SigPolicyHash" type="DigestAlgAndValueType"/>
277 <xsd:element name="SigPolicyQualifiers" type="SigPolicyQualifiersListType" minOccurs="0"/>
278 </xsd:sequence>
279 </xsd:complexType>
280 <xsd:complexType name="SigPolicyQualifiersListType">
281 <xsd:sequence>
282 <xsd:element name="SigPolicyQualifier" type="AnyType" maxOccurs="unbounded"/>
283 </xsd:sequence>
284 </xsd:complexType>
285 <xsd:element name="SPURI" type="xsd:anyURI"/>
286 <xsd:element name="SPUserNotice" type="SPUserNoticeType"/>
287 <xsd:complexType name="SPUserNoticeType">
288 <xsd:sequence>
289 <xsd:element name="NoticeRef" type="NoticeReferenceType" minOccurs="0"/>
290 <xsd:element name="ExplicitText" type="xsd:string" minOccurs="0"/>
291 </xsd:sequence>
292 </xsd:complexType>
293 <xsd:complexType name="NoticeReferenceType">
294 <xsd:sequence>
295 <xsd:element name="Organization" type="xsd:string"/>
296 <xsd:element name="NoticeNumbers" type="IntegerListType"/>
297 </xsd:sequence>
298 </xsd:complexType>
299 <xsd:complexType name="IntegerListType">
300 <xsd:sequence>
301 <xsd:element name="int" type="xsd:integer" minOccurs="0" maxOccurs="unbounded"/>
302 </xsd:sequence>
303 </xsd:complexType>
304 <!-- End SignaturePolicyIdentifier -->
305 <!-- Start CounterSignature -->
306 <xsd:element name="CounterSignature" type="CounterSignatureType"/>
307 <xsd:complexType name="CounterSignatureType">
308 <xsd:sequence>
309 <xsd:element ref="ds:Signature"/>
310 </xsd:sequence>
311 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
312 </xsd:complexType>
313 <!-- End CounterSignature -->
314 <!-- Start DataObjectFormat -->
315 <xsd:element name="DataObjectFormat" type="DataObjectFormatType"/>
316 <xsd:complexType name="DataObjectFormatType">
317 <xsd:sequence>
318 <xsd:element name="Description" type="xsd:string" minOccurs="0"/>
319 <xsd:element name="ObjectIdentifier" type="ObjectIdentifierType" minOccurs="0"/>
320 <xsd:element name="MimeType" type="xsd:string" minOccurs="0"/>
321 <xsd:element name="Encoding" type="xsd:anyURI" minOccurs="0"/>
322 </xsd:sequence>
323 <xsd:attribute name="ObjectReference" type="xsd:anyURI" use="required"/>
324 </xsd:complexType>
325 <!-- End DataObjectFormat -->
326 <!-- Start CommitmentTypeIndication -->
327 <xsd:element name="CommitmentTypeIndication" type="CommitmentTypeIndicationType"/>
328 <xsd:complexType name="CommitmentTypeIndicationType">
329 <xsd:sequence>
330 <xsd:element name="CommitmentTypeId" type="ObjectIdentifierType"/>
331 <xsd:choice>
332 <xsd:element name="ObjectReference" type="xsd:anyURI" maxOccurs="unbounded"/>
333 <xsd:element name="AllSignedDataObjects"/>
334 </xsd:choice>
335 <xsd:element name="CommitmentTypeQualifiers" type="CommitmentTypeQualifiersListType" minOccurs="0"/>
336 </xsd:sequence>
337 </xsd:complexType>
338 <xsd:complexType name="CommitmentTypeQualifiersListType">
339 <xsd:sequence>
340 <xsd:element name="CommitmentTypeQualifier" type="AnyType" minOccurs="0" maxOccurs="unbounded"/>
341 </xsd:sequence>
342 </xsd:complexType>
343 <!-- End CommitmentTypeIndication -->
344 <!-- Start SignatureProductionPlace -->
345 <xsd:element name="SignatureProductionPlace" type="SignatureProductionPlaceType"/>
346 <xsd:complexType name="SignatureProductionPlaceType">
347 <xsd:sequence>
348 <xsd:element name="City" type="xsd:string" minOccurs="0"/>
349 <xsd:element name="StateOrProvince" type="xsd:string" minOccurs="0"/>
350 <xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
351 <xsd:element name="CountryName" type="xsd:string" minOccurs="0"/>
352 </xsd:sequence>
353 </xsd:complexType>
354 <!-- End SignatureProductionPlace -->
355 <!-- Start SignatureProductionPlaceV2 and SignatureProductionPlaceV2Type -->
356 <xsd:element name="SignatureProductionPlaceV2" type="SignatureProductionPlaceV2Type"/>
357 <xsd:complexType name="SignatureProductionPlaceV2Type">
358 <xsd:sequence>
359 <xsd:element name="City" type="xsd:string" minOccurs="0"/>
360 <xsd:element name="StreetAddress" type="xsd:string" minOccurs="0"/>
361 <xsd:element name="StateOrProvince" type="xsd:string" minOccurs="0"/>
362 <xsd:element name="PostalCode" type="xsd:string" minOccurs="0"/>
363 <xsd:element name="CountryName" type="xsd:string" minOccurs="0"/>
364 </xsd:sequence>
365 </xsd:complexType>
366 <!-- End SignatureProductionPlace -->
367 <!-- Start SignerRole -->
368 <xsd:element name="SignerRole" type="SignerRoleType"/>
369 <xsd:complexType name="SignerRoleType">
370 <xsd:sequence>
371 <xsd:element name="ClaimedRoles" type="ClaimedRolesListType" minOccurs="0"/>
372 <xsd:element name="CertifiedRoles" type="CertifiedRolesListType" minOccurs="0"/>
373 </xsd:sequence>
374 </xsd:complexType>
375 <xsd:complexType name="ClaimedRolesListType">
376 <xsd:sequence>
377 <xsd:element name="ClaimedRole" type="AnyType" maxOccurs="unbounded"/>
378 </xsd:sequence>
379 </xsd:complexType>
380 <xsd:complexType name="CertifiedRolesListType">
381 <xsd:sequence>
382 <xsd:element name="CertifiedRole" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
383 </xsd:sequence>
384 </xsd:complexType>
385 <!-- End SignerRole -->
386 <!-- Start SignerRoleV2 and SignerRoleV2Type -->
387 <xsd:element name="SignerRoleV2" type="SignerRoleV2Type"/>
388 <xsd:complexType name="SignerRoleV2Type">
389 <xsd:sequence>
390 <xsd:element ref="ClaimedRoles" minOccurs="0"/>
391 <xsd:element ref="CertifiedRolesV2" minOccurs="0"/>
392 <xsd:element ref="SignedAssertions" minOccurs="0"/>
393 </xsd:sequence>
394 </xsd:complexType>
395 <xsd:element name="ClaimedRoles" type="ClaimedRolesListType"/>
396 <xsd:element name="CertifiedRolesV2" type="CertifiedRolesListTypeV2"/>
397 <xsd:element name="SignedAssertions" type="SignedAssertionsListType"/>
398 <xsd:complexType name="CertifiedRolesListTypeV2">
399 <xsd:sequence>
400 <xsd:element name="CertifiedRole" type="CertifiedRoleTypeV2" maxOccurs="unbounded"/>
401 </xsd:sequence>
402 </xsd:complexType>
403 <xsd:complexType name="CertifiedRoleTypeV2">
404 <xsd:choice>
405 <xsd:element ref="X509AttributeCertificate"/>
406 <xsd:element ref="OtherAttributeCertificate"/>
407 </xsd:choice>
408 </xsd:complexType>
409 <xsd:element name="X509AttributeCertificate" type="EncapsulatedPKIDataType"/>
410 <xsd:element name="OtherAttributeCertificate" type="AnyType"/>
411 <xsd:complexType name="SignedAssertionsListType">
412 <xsd:sequence>
413 <xsd:element ref="SignedAssertion" maxOccurs="unbounded"/>
414 </xsd:sequence>
415 </xsd:complexType>
416 <xsd:element name="SignedAssertion" type="AnyType"/>
417 <!-- End SignerRoleV2 and SignerRoleV2Type -->
418 <xsd:element name="AllDataObjectsTimeStamp" type="XAdESTimeStampType"/>
419 <xsd:element name="IndividualDataObjectsTimeStamp" type="XAdESTimeStampType"/>
420 <xsd:element name="SignatureTimeStamp" type="XAdESTimeStampType"/>
421 <!-- Start CompleteCertificateRefs -->
422 <xsd:element name="CompleteCertificateRefs" type="CompleteCertificateRefsType"/>
423 <xsd:complexType name="CompleteCertificateRefsType">
424 <xsd:sequence>
425 <xsd:element name="CertRefs" type="CertIDListType"/>
426 </xsd:sequence>
427 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
428 </xsd:complexType>
429 <!-- End CompleteCertificateRefs -->
430 <!-- Start CompleteRevocationRefs-->
431 <xsd:element name="CompleteRevocationRefs" type="CompleteRevocationRefsType"/>
432 <xsd:complexType name="CompleteRevocationRefsType">
433 <xsd:sequence>
434 <xsd:element name="CRLRefs" type="CRLRefsType" minOccurs="0"/>
435 <xsd:element name="OCSPRefs" type="OCSPRefsType" minOccurs="0"/>
436 <xsd:element name="OtherRefs" type="OtherCertStatusRefsType" minOccurs="0"/>
437 </xsd:sequence>
438 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
439 </xsd:complexType>
440 <xsd:complexType name="CRLRefsType">
441 <xsd:sequence>
442 <xsd:element name="CRLRef" type="CRLRefType" maxOccurs="unbounded"/>
443 </xsd:sequence>
444 </xsd:complexType>
445 <xsd:complexType name="CRLRefType">
446 <xsd:sequence>
447 <xsd:element name="DigestAlgAndValue" type="DigestAlgAndValueType"/>
448 <xsd:element name="CRLIdentifier" type="CRLIdentifierType" minOccurs="0"/>
449 </xsd:sequence>
450 </xsd:complexType>
451 <xsd:complexType name="CRLIdentifierType">
452 <xsd:sequence>
453 <xsd:element name="Issuer" type="xsd:string"/>
454 <xsd:element name="IssueTime" type="xsd:dateTime"/>
455 <xsd:element name="Number" type="xsd:integer" minOccurs="0"/>
456 </xsd:sequence>
457 <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
458 </xsd:complexType>
459 <xsd:complexType name="OCSPRefsType">
460 <xsd:sequence>
461 <xsd:element name="OCSPRef" type="OCSPRefType" maxOccurs="unbounded"/>
462 </xsd:sequence>
463 </xsd:complexType>
464 <xsd:complexType name="OCSPRefType">
465 <xsd:sequence>
466 <xsd:element name="OCSPIdentifier" type="OCSPIdentifierType"/>
467 <xsd:element name="DigestAlgAndValue" type="DigestAlgAndValueType" minOccurs="0"/>
468 </xsd:sequence>
469 </xsd:complexType>
470 <xsd:complexType name="ResponderIDType">
471 <xsd:choice>
472 <xsd:element name="ByName" type="xsd:string"/>
473 <xsd:element name="ByKey" type="xsd:base64Binary"/>
474 </xsd:choice>
475 </xsd:complexType>
476 <xsd:complexType name="OCSPIdentifierType">
477 <xsd:sequence>
478 <xsd:element name="ResponderID" type="ResponderIDType"/>
479 <xsd:element name="ProducedAt" type="xsd:dateTime"/>
480 </xsd:sequence>
481 <xsd:attribute name="URI" type="xsd:anyURI" use="optional"/>
482 </xsd:complexType>
483 <xsd:complexType name="OtherCertStatusRefsType">
484 <xsd:sequence>
485 <xsd:element name="OtherRef" type="AnyType" maxOccurs="unbounded"/>
486 </xsd:sequence>
487 </xsd:complexType>
488 <!-- End CompleteRevocationRefs-->
489 <xsd:element name="AttributeCertificateRefs" type="CompleteCertificateRefsType"/>
490 <xsd:element name="AttributeRevocationRefs" type="CompleteRevocationRefsType"/>
491 <xsd:element name="SigAndRefsTimeStamp" type="XAdESTimeStampType"/>
492 <xsd:element name="RefsOnlyTimeStamp" type="XAdESTimeStampType"/>
493 <!-- Start CertificateValues -->
494 <xsd:element name="CertificateValues" type="CertificateValuesType"/>
495 <xsd:complexType name="CertificateValuesType">
496 <xsd:choice minOccurs="0" maxOccurs="unbounded">
497 <xsd:element name="EncapsulatedX509Certificate" type="EncapsulatedPKIDataType"/>
498 <xsd:element name="OtherCertificate" type="AnyType"/>
499 </xsd:choice>
500 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
501 </xsd:complexType>
502 <!-- End CertificateValues -->
503 <!-- Start RevocationValues-->
504 <xsd:element name="RevocationValues" type="RevocationValuesType"/>
505 <xsd:complexType name="RevocationValuesType">
506 <xsd:sequence>
507 <xsd:element name="CRLValues" type="CRLValuesType" minOccurs="0"/>
508 <xsd:element name="OCSPValues" type="OCSPValuesType" minOccurs="0"/>
509 <xsd:element name="OtherValues" type="OtherCertStatusValuesType" minOccurs="0"/>
510 </xsd:sequence>
511 <xsd:attribute name="Id" type="xsd:ID" use="optional"/>
512 </xsd:complexType>
513 <xsd:complexType name="CRLValuesType">
514 <xsd:sequence>
515 <xsd:element name="EncapsulatedCRLValue" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
516 </xsd:sequence>
517 </xsd:complexType>
518 <xsd:complexType name="OCSPValuesType">
519 <xsd:sequence>
520 <xsd:element name="EncapsulatedOCSPValue" type="EncapsulatedPKIDataType" maxOccurs="unbounded"/>
521 </xsd:sequence>
522 </xsd:complexType>
523 <xsd:complexType name="OtherCertStatusValuesType">
524 <xsd:sequence>
525 <xsd:element name="OtherValue" type="AnyType" maxOccurs="unbounded"/>
526 </xsd:sequence>
527 </xsd:complexType>
528 <!-- End RevocationValues-->
529 <xsd:element name="AttrAuthoritiesCertValues" type="CertificateValuesType"/>
530 <xsd:element name="AttributeRevocationValues" type="RevocationValuesType"/>
531 <xsd:element name="ArchiveTimeStamp" type="XAdESTimeStampType"/>
532 </xsd:schema>