Add trust extension.
authorcantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 24 Mar 2005 22:02:07 +0000 (22:02 +0000)
committercantor <cantor@ab3bd59b-922f-494d-bb5f-6f0a3c29deca>
Thu, 24 Mar 2005 22:02:07 +0000 (22:02 +0000)
git-svn-id: https://subversion.switch.ch/svn/shibboleth/java-idp/trunk@1337 ab3bd59b-922f-494d-bb5f-6f0a3c29deca

src/schemas/shibboleth-metadata-1.0.xsd

index a520ca4..e5e921c 100644 (file)
@@ -1,10 +1,13 @@
 <?xml version="1.0" encoding="US-ASCII"?>
 <schema targetNamespace="urn:mace:shibboleth:metadata:1.0"
        xmlns="http://www.w3.org/2001/XMLSchema"
 <?xml version="1.0" encoding="US-ASCII"?>
 <schema targetNamespace="urn:mace:shibboleth:metadata:1.0"
        xmlns="http://www.w3.org/2001/XMLSchema"
+       xmlns:ds="http://www.w3.org/2000/09/xmldsig#"
        elementFormDefault="unqualified"
        attributeFormDefault="unqualified"
        version="1.0">
 
        elementFormDefault="unqualified"
        attributeFormDefault="unqualified"
        version="1.0">
 
+       <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
+
        <element name="Scope">
                <annotation>
                        <documentation>
        <element name="Scope">
                <annotation>
                        <documentation>
                        </simpleContent>
                </complexType>
        </element>
                        </simpleContent>
                </complexType>
        </element>
+
+       <element name="KeyAuthority">
+               <complexType>
+                       <annotation>
+                               <documentation>
+                               Binds keying authorities to the system entity/entities to which the enclosing
+                               metadata element applies.
+                               </documentation>
+                       </annotation>
+                       <sequence>
+                               <element ref="ds:KeyInfo" maxOccurs="unbounded"/>
+                       </sequence>
+                       <attribute name="VerifyDepth" type="unsignedByte" use="optional" default="1"/>
+                       <anyAttribute namespace="##other" processContents="lax"/>
+               </complexType>
+       </element>
+
 </schema>
 </schema>