1 <?xml version="1.0" encoding="utf-8"?>
5 # Copyright ©[2011] World Wide Web Consortium
6 # (Massachusetts Institute of Technology,
7 # European Research Consortium for Informatics and Mathematics,
8 # Keio University). All Rights Reserved.
9 # This work is distributed under the W3C® Software License [1] in the
10 # hope that it will be useful, but WITHOUT ANY WARRANTY; without even
11 # the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
13 # [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
17 <schema xmlns="http://www.w3.org/2001/XMLSchema"
18 xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
19 xmlns:dsig11="http://www.w3.org/2009/xmldsig11#"
20 targetNamespace="http://www.w3.org/2009/xmldsig11#"
21 version="0.1" elementFormDefault="qualified">
23 <import namespace="http://www.w3.org/2000/09/xmldsig#"/>
25 <element name="ECKeyValue" type="dsig11:ECKeyValueType"/>
26 <complexType name="ECKeyValueType">
29 <element name="ECParameters" type="dsig11:ECParametersType"/>
30 <element name="NamedCurve" type="dsig11:NamedCurveType"/>
32 <element name="PublicKey" type="dsig11:ECPointType"/>
34 <attribute name="Id" type="ID" use="optional"/>
37 <complexType name="NamedCurveType">
38 <attribute name="URI" type="anyURI" use="required"/>
41 <simpleType name="ECPointType">
42 <restriction base="ds:CryptoBinary"/>
45 <complexType name="ECParametersType">
47 <element name="FieldID" type="dsig11:FieldIDType"/>
48 <element name="Curve" type="dsig11:CurveType"/>
49 <element name="Base" type="dsig11:ECPointType"/>
50 <element name="Order" type="ds:CryptoBinary"/>
51 <element name="CoFactor" type="integer" minOccurs="0"/>
52 <element name="ValidationData"
53 type="dsig11:ECValidationDataType" minOccurs="0"/>
57 <complexType name="FieldIDType">
59 <element ref="dsig11:Prime"/>
60 <element ref="dsig11:TnB"/>
61 <element ref="dsig11:PnB"/>
62 <element ref="dsig11:GnB"/>
63 <any namespace="##other" processContents="lax"/>
67 <complexType name="CurveType">
69 <element name="A" type="ds:CryptoBinary"/>
70 <element name="B" type="ds:CryptoBinary"/>
74 <complexType name="ECValidationDataType">
76 <element name="seed" type="ds:CryptoBinary"/>
78 <attribute name="hashAlgorithm" type="anyURI" use="required"/>
81 <element name="Prime" type="dsig11:PrimeFieldParamsType"/>
82 <complexType name="PrimeFieldParamsType">
84 <element name="P" type="ds:CryptoBinary"/>
88 <element name="GnB" type="dsig11:CharTwoFieldParamsType"/>
89 <complexType name="CharTwoFieldParamsType">
91 <element name="M" type="positiveInteger"/>
95 <element name="TnB" type="dsig11:TnBFieldParamsType"/>
96 <complexType name="TnBFieldParamsType">
98 <extension base="dsig11:CharTwoFieldParamsType">
100 <element name="K" type="positiveInteger"/>
106 <element name="PnB" type="dsig11:PnBFieldParamsType"/>
107 <complexType name="PnBFieldParamsType">
109 <extension base="dsig11:CharTwoFieldParamsType">
111 <element name="K1" type="positiveInteger"/>
112 <element name="K2" type="positiveInteger"/>
113 <element name="K3" type="positiveInteger"/>
119 <element name="DEREncodedKeyValue" type="dsig11:DEREncodedKeyValueType"/>
120 <complexType name="DEREncodedKeyValueType">
122 <extension base="base64Binary">
123 <attribute name="Id" type="ID" use="optional"/>
128 <element name="KeyInfoReference" type="dsig11:KeyInfoReferenceType"/>
129 <complexType name="KeyInfoReferenceType">
130 <attribute name="URI" type="anyURI" use="required"/>
131 <attribute name="Id" type="ID" use="optional"/>
134 <element name="X509Digest" type="dsig11:X509DigestType"/>
135 <complexType name="X509DigestType">
137 <extension base="base64Binary">
138 <attribute name="Algorithm" type="anyURI" use="required"/>