Debian Codegraph @

xmlschema/schemas/XENC/xenc-schema-11.xsd

raw
1 <?xml version="1.0" encoding="utf-8"?>
2 <!--
3 Fallback schema for http://www.w3.org/2009/xmlenc11# namespace:
4 - DTD commented out for processing the schema with the safe parser
5 - Imports of other namespaces redirected to fallback schemas
6 -->
7
8 <!--
9 #
10 # Copyright ©[2011] World Wide Web Consortium
11 # (Massachusetts Institute of Technology,
12 # European Research Consortium for Informatics and Mathematics,
13 # Keio University). All Rights Reserved.
14 # This work is distributed under the W3C® Software License [1] in the
15 # hope that it will be useful, but WITHOUT ANY WARRANTY; without even
16 # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
17 # PURPOSE.
18 # [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
19 #
20 -->
21
22 <!--
23 <!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN"
24 "http://www.w3.org/2001/XMLSchema.dtd"
25 [
26 <!ATTLIST schema
27 xmlns:xenc CDATA #FIXED 'http://www.w3.org/2001/04/xmlenc#'
28 xmlns:ds CDATA #FIXED 'http://www.w3.org/2000/09/xmldsig#'
29 xmlns:xenc11 CDATA #FIXED 'http://www.w3.org/2009/xmlenc11#'>
30 <!ENTITY xenc 'http://www.w3.org/2001/04/xmlenc#'>
31 <!ENTITY % p ''>
32 <!ENTITY % s ''>
33 ]>
34 -->
35
36 <schema xmlns='http://www.w3.org/2001/XMLSchema' version='1.0'
37 xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'
38 xmlns:xenc11='http://www.w3.org/2009/xmlenc11#'
39 xmlns:ds='http://www.w3.org/2000/09/xmldsig#'
40 targetNamespace='http://www.w3.org/2009/xmlenc11#'
41 elementFormDefault='qualified'>
42
43 <import namespace='http://www.w3.org/2000/09/xmldsig#'
44 schemaLocation='../DSIG/xmldsig-core-schema.xsd'/>
45
46 <import namespace='http://www.w3.org/2001/04/xmlenc#'
47 schemaLocation='xenc-schema.xsd'/>
48
49 <element name="ConcatKDFParams" type="xenc11:ConcatKDFParamsType"/>
50 <complexType name="ConcatKDFParamsType">
51 <sequence>
52 <element ref="ds:DigestMethod"/>
53 </sequence>
54 <attribute name="AlgorithmID" type="hexBinary"/>
55 <attribute name="PartyUInfo" type="hexBinary"/>
56 <attribute name="PartyVInfo" type="hexBinary"/>
57 <attribute name="SuppPubInfo" type="hexBinary"/>
58 <attribute name="SuppPrivInfo" type="hexBinary"/>
59 </complexType>
60
61 <element name="DerivedKey" type="xenc11:DerivedKeyType"/>
62 <complexType name="DerivedKeyType">
63 <sequence>
64 <element ref="xenc11:KeyDerivationMethod" minOccurs="0"/>
65 <element ref="xenc:ReferenceList" minOccurs="0"/>
66 <element name="DerivedKeyName" type="string" minOccurs="0"/>
67 <element name="MasterKeyName" type="string" minOccurs="0"/>
68 </sequence>
69 <attribute name="Recipient" type="string" use="optional"/>
70 <attribute name="Id" type="ID" use="optional"/>
71 <attribute name="Type" type="anyURI" use="optional"/>
72 </complexType>
73
74 <element name="KeyDerivationMethod" type="xenc11:KeyDerivationMethodType"/>
75 <complexType name="KeyDerivationMethodType">
76 <sequence>
77 <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
78 </sequence>
79 <attribute name="Algorithm" type="anyURI" use="required"/>
80 </complexType>
81
82 <element name="PBKDF2-params" type="xenc11:PBKDF2ParameterType"/>
83
84 <complexType name="AlgorithmIdentifierType">
85 <sequence>
86 <element name="Parameters" type="anyType" minOccurs="0"/>
87 </sequence>
88 <attribute name="Algorithm" type="anyURI" use="required" />
89 </complexType>
90
91 <complexType name="PRFAlgorithmIdentifierType">
92 <complexContent>
93 <restriction base="xenc11:AlgorithmIdentifierType">
94 <attribute name="Algorithm" type="anyURI" use="required" />
95 </restriction>
96 </complexContent>
97 </complexType>
98
99 <complexType name="PBKDF2ParameterType">
100 <sequence>
101 <element name="Salt">
102 <complexType>
103 <choice>
104 <element name="Specified" type="base64Binary"/>
105 <element name="OtherSource" type="xenc11:AlgorithmIdentifierType"/>
106 </choice>
107 </complexType>
108 </element>
109 <element name="IterationCount" type="positiveInteger"/>
110 <element name="KeyLength" type="positiveInteger"/>
111 <element name="PRF" type="xenc11:PRFAlgorithmIdentifierType"/>
112 </sequence>
113 </complexType>
114
115 <element name="MGF" type="xenc11:MGFType"/>
116 <complexType name="MGFType">
117 <complexContent>
118 <restriction base="xenc11:AlgorithmIdentifierType">
119 <attribute name="Algorithm" type="anyURI" use="required" />
120 </restriction>
121 </complexContent>
122 </complexType>
123
124 </schema>
125
126