| 1 |
<?xml version="1.0" encoding="utf-8"?> |
| 2 |
<!-- |
| 3 |
Fallback schema for http://www.w3.org/2001/04/xmlenc# namespace: |
| 4 |
- DTD commented out for processing the schema with the safe parser |
| 5 |
- Import of http://www.w3.org/2000/09/xmldsig# namespace redirected |
| 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 |
<!ENTITY xenc 'http://www.w3.org/2001/04/xmlenc#'> |
| 30 |
<!ENTITY % p ''> |
| 31 |
<!ENTITY % s ''> |
| 32 |
]> |
| 33 |
--> |
| 34 |
|
| 35 |
<schema xmlns='http://www.w3.org/2001/XMLSchema' version='1.0' |
| 36 |
xmlns:xenc='http://www.w3.org/2001/04/xmlenc#' |
| 37 |
xmlns:ds='http://www.w3.org/2000/09/xmldsig#' |
| 38 |
targetNamespace='http://www.w3.org/2001/04/xmlenc#' |
| 39 |
elementFormDefault='qualified'> |
| 40 |
|
| 41 |
<import namespace='http://www.w3.org/2000/09/xmldsig#' |
| 42 |
schemaLocation='../DSIG/xmldsig-core-schema.xsd'/> |
| 43 |
|
| 44 |
<complexType name='EncryptedType' abstract='true'> |
| 45 |
<sequence> |
| 46 |
<element name='EncryptionMethod' type='xenc:EncryptionMethodType' |
| 47 |
minOccurs='0'/> |
| 48 |
<element ref='ds:KeyInfo' minOccurs='0'/> |
| 49 |
<element ref='xenc:CipherData'/> |
| 50 |
<element ref='xenc:EncryptionProperties' minOccurs='0'/> |
| 51 |
</sequence> |
| 52 |
<attribute name='Id' type='ID' use='optional'/> |
| 53 |
<attribute name='Type' type='anyURI' use='optional'/> |
| 54 |
<attribute name='MimeType' type='string' use='optional'/> |
| 55 |
<attribute name='Encoding' type='anyURI' use='optional'/> |
| 56 |
</complexType> |
| 57 |
|
| 58 |
<complexType name='EncryptionMethodType' mixed='true'> |
| 59 |
<sequence> |
| 60 |
<element name='KeySize' minOccurs='0' type='xenc:KeySizeType'/> |
| 61 |
<element name='OAEPparams' minOccurs='0' type='base64Binary'/> |
| 62 |
<!-- note that optional xenc11:MGF element may be used here for |
| 63 |
RSA-OAEP, when appropriate --> |
| 64 |
<any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> |
| 65 |
</sequence> |
| 66 |
<attribute name='Algorithm' type='anyURI' use='required'/> |
| 67 |
</complexType> |
| 68 |
|
| 69 |
<simpleType name='KeySizeType'> |
| 70 |
<restriction base="integer"/> |
| 71 |
</simpleType> |
| 72 |
|
| 73 |
<element name='CipherData' type='xenc:CipherDataType'/> |
| 74 |
<complexType name='CipherDataType'> |
| 75 |
<choice> |
| 76 |
<element name='CipherValue' type='base64Binary'/> |
| 77 |
<element ref='xenc:CipherReference'/> |
| 78 |
</choice> |
| 79 |
</complexType> |
| 80 |
|
| 81 |
<element name='CipherReference' type='xenc:CipherReferenceType'/> |
| 82 |
<complexType name='CipherReferenceType'> |
| 83 |
<choice> |
| 84 |
<element name='Transforms' type='xenc:TransformsType' minOccurs='0'/> |
| 85 |
</choice> |
| 86 |
<attribute name='URI' type='anyURI' use='required'/> |
| 87 |
</complexType> |
| 88 |
|
| 89 |
<complexType name='TransformsType'> |
| 90 |
<sequence> |
| 91 |
<element ref='ds:Transform' maxOccurs='unbounded'/> |
| 92 |
</sequence> |
| 93 |
</complexType> |
| 94 |
|
| 95 |
|
| 96 |
<element name='EncryptedData' type='xenc:EncryptedDataType'/> |
| 97 |
<complexType name='EncryptedDataType'> |
| 98 |
<complexContent> |
| 99 |
<extension base='xenc:EncryptedType'> |
| 100 |
</extension> |
| 101 |
</complexContent> |
| 102 |
</complexType> |
| 103 |
|
| 104 |
<!-- Children of ds:KeyInfo --> |
| 105 |
|
| 106 |
<element name='EncryptedKey' type='xenc:EncryptedKeyType'/> |
| 107 |
<complexType name='EncryptedKeyType'> |
| 108 |
<complexContent> |
| 109 |
<extension base='xenc:EncryptedType'> |
| 110 |
<sequence> |
| 111 |
<element ref='xenc:ReferenceList' minOccurs='0'/> |
| 112 |
<element name='CarriedKeyName' type='string' minOccurs='0'/> |
| 113 |
</sequence> |
| 114 |
<attribute name='Recipient' type='string' |
| 115 |
use='optional'/> |
| 116 |
</extension> |
| 117 |
</complexContent> |
| 118 |
</complexType> |
| 119 |
|
| 120 |
<element name="AgreementMethod" type="xenc:AgreementMethodType"/> |
| 121 |
<complexType name="AgreementMethodType" mixed="true"> |
| 122 |
<sequence> |
| 123 |
<element name="KA-Nonce" minOccurs="0" type="base64Binary"/> |
| 124 |
<!-- <element ref="ds:DigestMethod" minOccurs="0"/> --> |
| 125 |
<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> |
| 126 |
<element name="OriginatorKeyInfo" minOccurs="0" type="ds:KeyInfoType"/> |
| 127 |
<element name="RecipientKeyInfo" minOccurs="0" type="ds:KeyInfoType"/> |
| 128 |
</sequence> |
| 129 |
<attribute name="Algorithm" type="anyURI" use="required"/> |
| 130 |
</complexType> |
| 131 |
|
| 132 |
<!-- End Children of ds:KeyInfo --> |
| 133 |
|
| 134 |
<element name='ReferenceList'> |
| 135 |
<complexType> |
| 136 |
<choice minOccurs='1' maxOccurs='unbounded'> |
| 137 |
<element name='DataReference' type='xenc:ReferenceType'/> |
| 138 |
<element name='KeyReference' type='xenc:ReferenceType'/> |
| 139 |
</choice> |
| 140 |
</complexType> |
| 141 |
</element> |
| 142 |
|
| 143 |
<complexType name='ReferenceType'> |
| 144 |
<sequence> |
| 145 |
<any namespace='##other' minOccurs='0' maxOccurs='unbounded'/> |
| 146 |
</sequence> |
| 147 |
<attribute name='URI' type='anyURI' use='required'/> |
| 148 |
</complexType> |
| 149 |
|
| 150 |
|
| 151 |
<element name='EncryptionProperties' type='xenc:EncryptionPropertiesType'/> |
| 152 |
<complexType name='EncryptionPropertiesType'> |
| 153 |
<sequence> |
| 154 |
<element ref='xenc:EncryptionProperty' maxOccurs='unbounded'/> |
| 155 |
</sequence> |
| 156 |
<attribute name='Id' type='ID' use='optional'/> |
| 157 |
</complexType> |
| 158 |
|
| 159 |
<element name='EncryptionProperty' type='xenc:EncryptionPropertyType'/> |
| 160 |
<complexType name='EncryptionPropertyType' mixed='true'> |
| 161 |
<choice maxOccurs='unbounded'> |
| 162 |
<any namespace='##other' processContents='lax'/> |
| 163 |
</choice> |
| 164 |
<attribute name='Target' type='anyURI' use='optional'/> |
| 165 |
<attribute name='Id' type='ID' use='optional'/> |
| 166 |
<anyAttribute namespace="http://www.w3.org/XML/1998/namespace"/> |
| 167 |
</complexType> |
| 168 |
|
| 169 |
<!-- Children of ds:KeyValue --> |
| 170 |
|
| 171 |
<element name="DHKeyValue" type="xenc:DHKeyValueType"/> |
| 172 |
<complexType name="DHKeyValueType"> |
| 173 |
<sequence> |
| 174 |
<sequence minOccurs="0"> |
| 175 |
<element name="P" type="ds:CryptoBinary"/> |
| 176 |
<element name="Q" type="ds:CryptoBinary"/> |
| 177 |
<element name="Generator" type="ds:CryptoBinary"/> |
| 178 |
</sequence> |
| 179 |
<element name="Public" type="ds:CryptoBinary"/> |
| 180 |
<sequence minOccurs="0"> |
| 181 |
<element name="seed" type="ds:CryptoBinary"/> |
| 182 |
<element name="pgenCounter" type="ds:CryptoBinary"/> |
| 183 |
</sequence> |
| 184 |
</sequence> |
| 185 |
</complexType> |
| 186 |
|
| 187 |
<!-- End Children of ds:KeyValue --> |
| 188 |
|
| 189 |
</schema> |
| 190 |
|