xmldsig-core-schema.xsd revision 0
0N/A<?
xml version="1.0" encoding="utf-8"?>
0N/A<!-- Schema for XML Signatures 0N/A $Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $ 0N/A Copyright 2001 The Internet Society and W3C (Massachusetts Institute 0N/A of Technology, Institut National de Recherche en Informatique et en 0N/A Automatique, Keio University). All Rights Reserved. 2362N/A This document is governed by the W3C Software License [1] as described 0N/A version="0.1" elementFormDefault="qualified">
0N/A<!-- Basic Types Defined for Signatures --> 0N/A<
simpleType name="CryptoBinary">
0N/A <
restriction base="base64Binary">
0N/A<!-- Start Signature --> 0N/A<
element name="Signature" type="ds:SignatureType"/>
0N/A<
complexType name="SignatureType">
<
element ref="ds:SignedInfo"/>
<
element ref="ds:SignatureValue"/>
<
element ref="ds:KeyInfo" minOccurs="0"/>
<
element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/>
<
attribute name="Id" type="ID" use="optional"/>
<
element name="SignatureValue" type="ds:SignatureValueType"/>
<
complexType name="SignatureValueType">
<
extension base="base64Binary">
<
attribute name="Id" type="ID" use="optional"/>
<!-- Start SignedInfo --> <
element name="SignedInfo" type="ds:SignedInfoType"/>
<
complexType name="SignedInfoType">
<
element ref="ds:CanonicalizationMethod"/>
<
element ref="ds:SignatureMethod"/>
<
element ref="ds:Reference" maxOccurs="unbounded"/>
<
attribute name="Id" type="ID" use="optional"/>
<
element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
<
complexType name="CanonicalizationMethodType" mixed="true">
<
any namespace="##any" minOccurs="0" maxOccurs="unbounded"/>
<!-- (0,unbounded) elements from (1,1) namespace --> <
attribute name="Algorithm" type="anyURI" use="required"/>
<
element name="SignatureMethod" type="ds:SignatureMethodType"/>
<
complexType name="SignatureMethodType" mixed="true">
<
element name="HMACOutputLength" minOccurs="0" type="ds:HMACOutputLengthType"/>
<
any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
<!-- (0,unbounded) elements from (1,1) external namespace --> <
attribute name="Algorithm" type="anyURI" use="required"/>
<
element name="Reference" type="ds:ReferenceType"/>
<
complexType name="ReferenceType">
<
element ref="ds:Transforms" minOccurs="0"/>
<
element ref="ds:DigestMethod"/>
<
element ref="ds:DigestValue"/>
<
attribute name="Id" type="ID" use="optional"/>
<
attribute name="URI" type="anyURI" use="optional"/>
<
attribute name="Type" type="anyURI" use="optional"/>
<
element name="Transforms" type="ds:TransformsType"/>
<
complexType name="TransformsType">
<
element ref="ds:Transform" maxOccurs="unbounded"/>
<
element name="Transform" type="ds:TransformType"/>
<
complexType name="TransformType" mixed="true">
<
choice minOccurs="0" maxOccurs="unbounded">
<
any namespace="##other" processContents="lax"/>
<!-- (1,1) elements from (0,unbounded) namespaces --> <
element name="XPath" type="string"/>
<
attribute name="Algorithm" type="anyURI" use="required"/>
<
element name="DigestMethod" type="ds:DigestMethodType"/>
<
complexType name="DigestMethodType" mixed="true">
<
any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/>
<
attribute name="Algorithm" type="anyURI" use="required"/>
<
element name="DigestValue" type="ds:DigestValueType"/>
<
simpleType name="DigestValueType">
<
restriction base="base64Binary"/>
<
element name="KeyInfo" type="ds:KeyInfoType"/>
<
complexType name="KeyInfoType" mixed="true">
<
choice maxOccurs="unbounded">
<
element ref="ds:KeyName"/>
<
element ref="ds:KeyValue"/>
<
element ref="ds:RetrievalMethod"/>
<
element ref="ds:X509Data"/>
<
element ref="ds:PGPData"/>
<
element ref="ds:SPKIData"/>
<
element ref="ds:MgmtData"/>
<
any processContents="lax" namespace="##other"/>
<!-- (1,1) elements from (0,unbounded) namespaces --> <
attribute name="Id" type="ID" use="optional"/>
<
element name="KeyName" type="string"/>
<
element name="MgmtData" type="string"/>
<
element name="KeyValue" type="ds:KeyValueType"/>
<
complexType name="KeyValueType" mixed="true">
<
element ref="ds:DSAKeyValue"/>
<
element ref="ds:RSAKeyValue"/>
<
any namespace="##other" processContents="lax"/>
<
element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
<
complexType name="RetrievalMethodType">
<
element ref="ds:Transforms" minOccurs="0"/>
<
attribute name="URI" type="anyURI"/>
<
attribute name="Type" type="anyURI" use="optional"/>
<
element name="X509Data" type="ds:X509DataType"/>
<
complexType name="X509DataType">
<
sequence maxOccurs="unbounded">
<
element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/>
<
element name="X509SKI" type="base64Binary"/>
<
element name="X509SubjectName" type="string"/>
<
element name="X509Certificate" type="base64Binary"/>
<
element name="X509CRL" type="base64Binary"/>
<
any namespace="##other" processContents="lax"/>
<
complexType name="X509IssuerSerialType">
<
element name="X509IssuerName" type="string"/>
<
element name="X509SerialNumber" type="integer"/>
<
element name="PGPData" type="ds:PGPDataType"/>
<
complexType name="PGPDataType">
<
element name="PGPKeyID" type="base64Binary"/>
<
element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/>
<
any namespace="##other" processContents="lax" minOccurs="0" <
element name="PGPKeyPacket" type="base64Binary"/>
<
any namespace="##other" processContents="lax" minOccurs="0"<
element name="SPKIData" type="ds:SPKIDataType"/>
<
complexType name="SPKIDataType">
<
sequence maxOccurs="unbounded">
<
element name="SPKISexp" type="base64Binary"/>
<
any namespace="##other" processContents="lax" minOccurs="0"/>
<!-- Start Object (Manifest, SignatureProperty) --> <
element name="Object" type="ds:ObjectType"/>
<
complexType name="ObjectType" mixed="true">
<
sequence minOccurs="0" maxOccurs="unbounded">
<
any namespace="##any" processContents="lax"/>
<
attribute name="Id" type="ID" use="optional"/>
<
attribute name="MimeType" type="string" use="optional"/>
<!-- add a grep facet --> <
attribute name="Encoding" type="anyURI" use="optional"/>
<
element name="Manifest" type="ds:ManifestType"/>
<
complexType name="ManifestType">
<
element ref="ds:Reference" maxOccurs="unbounded"/>
<
attribute name="Id" type="ID" use="optional"/>
<
element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
<
complexType name="SignaturePropertiesType">
<
element ref="ds:SignatureProperty" maxOccurs="unbounded"/>
<
attribute name="Id" type="ID" use="optional"/>
<
element name="SignatureProperty" type="ds:SignaturePropertyType"/>
<
complexType name="SignaturePropertyType" mixed="true">
<
choice maxOccurs="unbounded">
<
any namespace="##other" processContents="lax"/>
<!-- (1,1) elements from (1,unbounded) namespaces --> <
attribute name="Target" type="anyURI" use="required"/>
<
attribute name="Id" type="ID" use="optional"/>
<!-- End Object (Manifest, SignatureProperty) --> <!-- Start Algorithm Parameters --> <
simpleType name="HMACOutputLengthType">
<
restriction base="integer"/>
<!-- Start KeyValue Element-types --> <
element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
<
complexType name="DSAKeyValueType">
<
element name="P" type="ds:CryptoBinary"/>
<
element name="Q" type="ds:CryptoBinary"/>
<
element name="G" type="ds:CryptoBinary" minOccurs="0"/>
<
element name="Y" type="ds:CryptoBinary"/>
<
element name="J" type="ds:CryptoBinary" minOccurs="0"/>
<
element name="Seed" type="ds:CryptoBinary"/>
<
element name="PgenCounter" type="ds:CryptoBinary"/>
<
element name="RSAKeyValue" type="ds:RSAKeyValueType"/>
<
complexType name="RSAKeyValueType">
<
element name="Modulus" type="ds:CryptoBinary"/>
<
element name="Exponent" type="ds:CryptoBinary"/>
<!-- End KeyValue Element-types -->