| 192 |
- |
1 |
<?xml version="1.0" encoding="UTF-8"?>
|
|
|
2 |
<!DOCTYPE schema PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "XMLSchema.dtd" [
|
|
|
3 |
<!ATTLIST schema
|
|
|
4 |
xmlns:xenc CDATA #FIXED 'http://www.w3.org/2001/04/xmlenc#'
|
|
|
5 |
xmlns:ds CDATA #FIXED 'http://www.w3.org/2000/09/xmldsig#'>
|
|
|
6 |
<!ENTITY xenc 'http://www.w3.org/2001/04/xmlenc#'>
|
|
|
7 |
<!ENTITY % p ''>
|
|
|
8 |
<!ENTITY % s ''>
|
|
|
9 |
]>
|
|
|
10 |
<schema xmlns="http://www.w3.org/2001/XMLSchema" version="1.0" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2001/04/xmlenc#" elementFormDefault="qualified">
|
|
|
11 |
|
|
|
12 |
<import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="http://www.w3.org/TR/2002/REC-xmldsig-core-20020212/xmldsig-core-schema.xsd"/>
|
|
|
13 |
|
|
|
14 |
<complexType name="EncryptedType" abstract="true">
|
|
|
15 |
<sequence>
|
|
|
16 |
<element name="EncryptionMethod" type="xenc:EncryptionMethodType" minOccurs="0"/>
|
|
|
17 |
<element ref="ds:KeyInfo" minOccurs="0"/>
|
|
|
18 |
<element ref="xenc:CipherData"/>
|
|
|
19 |
<element ref="xenc:EncryptionProperties" minOccurs="0"/>
|
|
|
20 |
</sequence>
|
|
|
21 |
<attribute name="Id" type="ID" use="optional"/>
|
|
|
22 |
<attribute name="Type" type="anyURI" use="optional"/>
|
|
|
23 |
<attribute name="MimeType" type="string" use="optional"/>
|
|
|
24 |
<attribute name="Encoding" type="anyURI" use="optional"/>
|
|
|
25 |
</complexType>
|
|
|
26 |
|
|
|
27 |
<complexType name="EncryptionMethodType" mixed="true">
|
|
|
28 |
<sequence>
|
|
|
29 |
<element name="KeySize" minOccurs="0" type="xenc:KeySizeType"/>
|
|
|
30 |
<element name="OAEPparams" minOccurs="0" type="base64Binary"/>
|
|
|
31 |
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
32 |
</sequence>
|
|
|
33 |
<attribute name="Algorithm" type="anyURI" use="required"/>
|
|
|
34 |
</complexType>
|
|
|
35 |
|
|
|
36 |
<simpleType name="KeySizeType">
|
|
|
37 |
<restriction base="integer"/>
|
|
|
38 |
</simpleType>
|
|
|
39 |
|
|
|
40 |
<element name="CipherData" type="xenc:CipherDataType"/>
|
|
|
41 |
<complexType name="CipherDataType">
|
|
|
42 |
<choice>
|
|
|
43 |
<element name="CipherValue" type="base64Binary"/>
|
|
|
44 |
<element ref="xenc:CipherReference"/>
|
|
|
45 |
</choice>
|
|
|
46 |
</complexType>
|
|
|
47 |
|
|
|
48 |
<element name="CipherReference" type="xenc:CipherReferenceType"/>
|
|
|
49 |
<complexType name="CipherReferenceType">
|
|
|
50 |
<choice>
|
|
|
51 |
<element name="Transforms" type="xenc:TransformsType" minOccurs="0"/>
|
|
|
52 |
</choice>
|
|
|
53 |
<attribute name="URI" type="anyURI" use="required"/>
|
|
|
54 |
</complexType>
|
|
|
55 |
|
|
|
56 |
<complexType name="TransformsType">
|
|
|
57 |
<sequence>
|
|
|
58 |
<element ref="ds:Transform" maxOccurs="unbounded"/>
|
|
|
59 |
</sequence>
|
|
|
60 |
</complexType>
|
|
|
61 |
|
|
|
62 |
|
|
|
63 |
<element name="EncryptedData" type="xenc:EncryptedDataType"/>
|
|
|
64 |
<complexType name="EncryptedDataType">
|
|
|
65 |
<complexContent>
|
|
|
66 |
<extension base="xenc:EncryptedType">
|
|
|
67 |
</extension>
|
|
|
68 |
</complexContent>
|
|
|
69 |
</complexType>
|
|
|
70 |
|
|
|
71 |
<!-- Children of ds:KeyInfo -->
|
|
|
72 |
|
|
|
73 |
<element name="EncryptedKey" type="xenc:EncryptedKeyType"/>
|
|
|
74 |
<complexType name="EncryptedKeyType">
|
|
|
75 |
<complexContent>
|
|
|
76 |
<extension base="xenc:EncryptedType">
|
|
|
77 |
<sequence>
|
|
|
78 |
<element ref="xenc:ReferenceList" minOccurs="0"/>
|
|
|
79 |
<element name="CarriedKeyName" type="string" minOccurs="0"/>
|
|
|
80 |
</sequence>
|
|
|
81 |
<attribute name="Recipient" type="string" use="optional"/>
|
|
|
82 |
</extension>
|
|
|
83 |
</complexContent>
|
|
|
84 |
</complexType>
|
|
|
85 |
|
|
|
86 |
<element name="AgreementMethod" type="xenc:AgreementMethodType"/>
|
|
|
87 |
<complexType name="AgreementMethodType" mixed="true">
|
|
|
88 |
<sequence>
|
|
|
89 |
<element name="KA-Nonce" minOccurs="0" type="base64Binary"/>
|
|
|
90 |
<!-- <element ref="ds:DigestMethod" minOccurs="0"/> -->
|
|
|
91 |
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
92 |
<element name="OriginatorKeyInfo" minOccurs="0" type="ds:KeyInfoType"/>
|
|
|
93 |
<element name="RecipientKeyInfo" minOccurs="0" type="ds:KeyInfoType"/>
|
|
|
94 |
</sequence>
|
|
|
95 |
<attribute name="Algorithm" type="anyURI" use="required"/>
|
|
|
96 |
</complexType>
|
|
|
97 |
|
|
|
98 |
<!-- End Children of ds:KeyInfo -->
|
|
|
99 |
|
|
|
100 |
<element name="ReferenceList">
|
|
|
101 |
<complexType>
|
|
|
102 |
<choice minOccurs="1" maxOccurs="unbounded">
|
|
|
103 |
<element name="DataReference" type="xenc:ReferenceType"/>
|
|
|
104 |
<element name="KeyReference" type="xenc:ReferenceType"/>
|
|
|
105 |
</choice>
|
|
|
106 |
</complexType>
|
|
|
107 |
</element>
|
|
|
108 |
|
|
|
109 |
<complexType name="ReferenceType">
|
|
|
110 |
<sequence>
|
|
|
111 |
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
|
|
|
112 |
</sequence>
|
|
|
113 |
<attribute name="URI" type="anyURI" use="required"/>
|
|
|
114 |
</complexType>
|
|
|
115 |
|
|
|
116 |
|
|
|
117 |
<element name="EncryptionProperties" type="xenc:EncryptionPropertiesType"/>
|
|
|
118 |
<complexType name="EncryptionPropertiesType">
|
|
|
119 |
<sequence>
|
|
|
120 |
<element ref="xenc:EncryptionProperty" maxOccurs="unbounded"/>
|
|
|
121 |
</sequence>
|
|
|
122 |
<attribute name="Id" type="ID" use="optional"/>
|
|
|
123 |
</complexType>
|
|
|
124 |
|
|
|
125 |
<element name="EncryptionProperty" type="xenc:EncryptionPropertyType"/>
|
|
|
126 |
<complexType name="EncryptionPropertyType" mixed="true">
|
|
|
127 |
<choice maxOccurs="unbounded">
|
|
|
128 |
<any namespace="##other" processContents="lax"/>
|
|
|
129 |
</choice>
|
|
|
130 |
<attribute name="Target" type="anyURI" use="optional"/>
|
|
|
131 |
<attribute name="Id" type="ID" use="optional"/>
|
|
|
132 |
<anyAttribute namespace="http://www.w3.org/XML/1998/namespace"/>
|
|
|
133 |
</complexType>
|
|
|
134 |
|
|
|
135 |
</schema>
|