XML Enc 1.1 schema
authorscantor <scantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 2 Jul 2012 18:15:56 +0000 (18:15 +0000)
committerscantor <scantor@de75baf8-a10c-0410-a50a-987c0e22f00f>
Mon, 2 Jul 2012 18:15:56 +0000 (18:15 +0000)
git-svn-id: https://svn.shibboleth.net/cpp-xmltooling/branches/REL_1@982 de75baf8-a10c-0410-a50a-987c0e22f00f

schemas/Makefile.am
schemas/catalog.xml.in
schemas/xenc11-schema.xsd [new file with mode: 0644]

index 46bedc0..ee11aac 100644 (file)
@@ -3,6 +3,7 @@ AUTOMAKE_OPTIONS = foreign
 schemafiles = \
        soap-envelope.xsd \
        xenc-schema.xsd \
+       xenc11-schema.xsd \
        xmldsig-core-schema.xsd \
        xmldsig11-schema.xsd \
        xml.xsd \
index 0c230cb..2136a92 100644 (file)
@@ -2,6 +2,7 @@
 <catalog xmlns="urn:oasis:names:tc:entity:xmlns:xml:catalog">
     <system systemId="http://www.w3.org/XML/1998/namespace" uri="@-PKGXMLDIR-@/xml.xsd"/>
     <system systemId="http://www.w3.org/2001/04/xmlenc#" uri="@-PKGXMLDIR-@/xenc-schema.xsd"/>
+    <system systemId="http://www.w3.org/2009/xmlenc11#" uri="@-PKGXMLDIR-@/xenc11-schema.xsd"/>
     <system systemId="http://www.w3.org/2000/09/xmldsig#" uri="@-PKGXMLDIR-@/xmldsig-core-schema.xsd"/>
     <system systemId="http://www.w3.org/2009/xmldsig11#" uri="@-PKGXMLDIR-@/xmldsig11-schema.xsd"/>
     <system systemId="http://www.opensaml.org/xmltooling" uri="@-PKGXMLDIR-@/xmltooling.xsd"/>
diff --git a/schemas/xenc11-schema.xsd b/schemas/xenc11-schema.xsd
new file mode 100644 (file)
index 0000000..ad8ca44
--- /dev/null
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="utf-8"?>
+
+<!--
+#
+# Copyright ©[2011] World Wide Web Consortium 
+# (Massachusetts Institute of Technology,  
+#  European Research Consortium for Informatics and Mathematics, 
+#  Keio University). All Rights Reserved.  
+# This work is distributed under the W3C® Software License [1] in the
+# hope that it will be useful, but WITHOUT ANY WARRANTY; without even
+# the implied warranty of MERCHANTABILITY or FITNESS FOR A PARTICULAR
+# PURPOSE. 
+# [1] http://www.w3.org/Consortium/Legal/2002/copyright-software-20021231
+#
+-->
+
+<schema xmlns='http://www.w3.org/2001/XMLSchema' version='1.0'
+        xmlns:xenc='http://www.w3.org/2001/04/xmlenc#'
+        xmlns:xenc11='http://www.w3.org/2009/xmlenc11#'
+        xmlns:ds='http://www.w3.org/2000/09/xmldsig#'
+        targetNamespace='http://www.w3.org/2009/xmlenc11#'
+        elementFormDefault='qualified'>
+
+       <import namespace='http://www.w3.org/2000/09/xmldsig#' schemaLocation='xmldsig-core-schema.xsd'/>
+       <import namespace='http://www.w3.org/2001/04/xmlenc#' schemaLocation='xenc-schema.xsd'/>
+
+       <element name="ConcatKDFParams" type="xenc11:ConcatKDFParamsType"/>
+       <complexType name="ConcatKDFParamsType">
+               <sequence>
+                       <element ref="ds:DigestMethod"/>
+               </sequence>
+               <attribute name="AlgorithmID" type="hexBinary"/>
+               <attribute name="PartyUInfo" type="hexBinary"/>
+               <attribute name="PartyVInfo" type="hexBinary"/>
+               <attribute name="SuppPubInfo" type="hexBinary"/>
+               <attribute name="SuppPrivInfo" type="hexBinary"/>
+       </complexType>
+
+       <element name="DerivedKey" type="xenc11:DerivedKeyType"/>
+       <complexType name="DerivedKeyType">
+               <sequence>
+                       <element ref="xenc11:KeyDerivationMethod" minOccurs="0"/>
+                       <element ref="xenc:ReferenceList" minOccurs="0"/>
+                       <element name="DerivedKeyName" type="string" minOccurs="0"/>
+                       <element name="MasterKeyName" type="string" minOccurs="0"/>
+               </sequence>
+               <attribute name="Recipient" type="string" use="optional"/>
+               <attribute name="Id" type="ID" use="optional"/>
+               <attribute name="Type" type="anyURI" use="optional"/>
+       </complexType>
+
+       <element name="KeyDerivationMethod" type="xenc11:KeyDerivationMethodType"/>
+       <complexType name="KeyDerivationMethodType">
+               <sequence>
+                       <any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
+               </sequence>
+               <attribute name="Algorithm" type="anyURI" use="required"/>
+       </complexType>
+
+       <element name="PBKDF2-params" type="xenc11:PBKDF2ParameterType"/>
+
+       <complexType name="AlgorithmIdentifierType">
+               <sequence>
+                       <element name="Parameters" type="anyType" minOccurs="0"/>
+               </sequence>
+        <attribute name="Algorithm" type="anyURI" use="required" />
+       </complexType>
+
+       <complexType name="PRFAlgorithmIdentifierType">
+               <complexContent>
+          <restriction base="xenc11:AlgorithmIdentifierType">
+            <attribute name="Algorithm" type="anyURI" use="required" />
+          </restriction>
+        </complexContent>
+       </complexType>
+
+       <complexType name="PBKDF2ParameterType">
+               <sequence>
+                       <element name="Salt">
+                               <complexType>
+                                       <choice>
+                                               <element name="Specified" type="base64Binary"/>
+                                               <element name="OtherSource" type="xenc11:AlgorithmIdentifierType"/>
+                                       </choice>
+                               </complexType>
+                       </element>
+                       <element name="IterationCount" type="positiveInteger"/>
+                       <element name="KeyLength" type="positiveInteger"/>
+                       <element name="PRF" type="xenc11:PRFAlgorithmIdentifierType"/>
+               </sequence>
+       </complexType>
+
+    <element name="MGF" type="xenc11:MGFType"/>
+    <complexType name="MGFType">
+      <complexContent>
+        <restriction base="xenc11:AlgorithmIdentifierType">
+          <attribute name="Algorithm" type="anyURI" use="required" />
+        </restriction>
+      </complexContent>
+    </complexType>
+
+</schema>
+
+