diff options
| author | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 | 
|---|---|---|
| committer | Thomas Lenz <thomas.lenz@egiz.gv.at> | 2013-12-20 12:35:28 +0100 | 
| commit | defceef8afef538555c13d33e344a89a828a3d97 (patch) | |
| tree | 24b44f970f161d5b139dde501ca0f5d883f9fdea /src/main/resources/wsdl/zusespec | |
| download | egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.gz egovutils-defceef8afef538555c13d33e344a89a828a3d97.tar.bz2 egovutils-defceef8afef538555c13d33e344a89a828a3d97.zip | |
inital
Diffstat (limited to 'src/main/resources/wsdl/zusespec')
| -rw-r--r-- | src/main/resources/wsdl/zusespec/W3C-XMLDSig.xsd | 265 | ||||
| -rw-r--r-- | src/main/resources/wsdl/zusespec/recipientnotification.xsd | 100 | 
2 files changed, 365 insertions, 0 deletions
| diff --git a/src/main/resources/wsdl/zusespec/W3C-XMLDSig.xsd b/src/main/resources/wsdl/zusespec/W3C-XMLDSig.xsd new file mode 100644 index 0000000..522cae0 --- /dev/null +++ b/src/main/resources/wsdl/zusespec/W3C-XMLDSig.xsd @@ -0,0 +1,265 @@ +<?xml version="1.0" encoding="utf-8"?> +<!-- PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" + --> +<!-- Schema for XML Signatures +    http://www.w3.org/2000/09/xmldsig# +    $Revision: 1.1 $ on $Date: 2002/11/11 16:24:27 $ by $Author: Linauer $ + +    Copyright 2001 The Internet Society and W3C (Massachusetts Institute +    of Technology, Institut National de Recherche en Informatique et en +    Automatique, Keio University). All Rights Reserved. +    http://www.w3.org/Consortium/Legal/ + +    This document is governed by the W3C Software License [1] as described +    in the FAQ [2]. + +    [1] http://www.w3.org/Consortium/Legal/copyright-software-19980720 +    [2] http://www.w3.org/Consortium/Legal/IPR-FAQ-20000620.html#DTD +--> +<schema targetNamespace="http://www.w3.org/2000/09/xmldsig#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" version="0.1"> +	<!-- Basic Types Defined for Signatures --> +	<!-- modified to ensure that whiteSpace is preserved +<simpleType name="CryptoBinary"> +  <restriction base="base64Binary"> +  </restriction> +</simpleType> + --> +	<simpleType name="CryptoBinary"> +		<restriction base="string"> +			<whiteSpace value="preserve"/> +			<pattern value="[A-Za-z0-9\+/=\n\r\t ]*"/> +		</restriction> +	</simpleType> +	<!-- Start Signature --> +	<element name="Signature" type="ds:SignatureType"/> +	<complexType name="SignatureType"> +		<sequence> +			<element ref="ds:SignedInfo"/> +			<element ref="ds:SignatureValue"/> +			<element ref="ds:KeyInfo" minOccurs="0"/> +			<element ref="ds:Object" minOccurs="0" maxOccurs="unbounded"/> +		</sequence> +		<attribute name="Id" type="ID" use="optional"/> +	</complexType> +	<element name="SignatureValue" type="ds:SignatureValueType"/> +	<complexType name="SignatureValueType"> +		<simpleContent> +			<extension base="ds:CryptoBinary"> +				<attribute name="Id" type="ID" use="optional"/> +			</extension> +		</simpleContent> +	</complexType> +	<!-- Start SignedInfo --> +	<element name="SignedInfo" type="ds:SignedInfoType"/> +	<complexType name="SignedInfoType"> +		<sequence> +			<element ref="ds:CanonicalizationMethod"/> +			<element ref="ds:SignatureMethod"/> +			<element ref="ds:Reference" maxOccurs="unbounded"/> +		</sequence> +		<attribute name="Id" type="ID" use="optional"/> +	</complexType> +	<element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/> +	<complexType name="CanonicalizationMethodType" mixed="true"> +		<sequence> +			<any namespace="##any" minOccurs="0" maxOccurs="unbounded"/> +			<!-- (0,unbounded) elements from (1,1) namespace --> +		</sequence> +		<attribute name="Algorithm" type="anyURI" use="required"/> +	</complexType> +	<element name="SignatureMethod" type="ds:SignatureMethodType"/> +	<complexType name="SignatureMethodType" mixed="true"> +		<sequence> +			<element name="HMACOutputLength" type="ds:HMACOutputLengthType" minOccurs="0"/> +			<any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> +			<!-- (0,unbounded) elements from (1,1) external namespace --> +		</sequence> +		<attribute name="Algorithm" type="anyURI" use="required"/> +	</complexType> +	<!-- Start Reference --> +	<element name="Reference" type="ds:ReferenceType"/> +	<complexType name="ReferenceType"> +		<sequence> +			<element ref="ds:Transforms" minOccurs="0"/> +			<element ref="ds:DigestMethod"/> +			<element ref="ds:DigestValue"/> +		</sequence> +		<attribute name="Id" type="ID" use="optional"/> +		<attribute name="URI" type="anyURI" use="optional"/> +		<attribute name="Type" type="anyURI" use="optional"/> +	</complexType> +	<element name="Transforms" type="ds:TransformsType"/> +	<complexType name="TransformsType"> +		<sequence> +			<element ref="ds:Transform" maxOccurs="unbounded"/> +		</sequence> +	</complexType> +	<element name="Transform" type="ds:TransformType"/> +	<complexType name="TransformType" mixed="true"> +		<choice minOccurs="0" maxOccurs="unbounded"> +			<any namespace="##other" processContents="lax"/> +			<element name="XPath" type="string"/> +			<!-- (1,1) elements from (0,unbounded) namespaces --> +		</choice> +		<attribute name="Algorithm" type="anyURI" use="required"/> +	</complexType> +	<!-- End Reference --> +	<element name="DigestMethod" type="ds:DigestMethodType"/> +	<complexType name="DigestMethodType" mixed="true"> +		<sequence> +			<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> +		</sequence> +		<attribute name="Algorithm" type="anyURI" use="required"/> +	</complexType> +	<element name="DigestValue" type="ds:DigestValueType"/> +	<simpleType name="DigestValueType"> +		<restriction base="ds:CryptoBinary"/> +	</simpleType> +	<!-- End SignedInfo --> +	<!-- Start KeyInfo --> +	<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 namespace="##other" processContents="lax"/> +			<!-- (1,1) elements from (0,unbounded) namespaces --> +		</choice> +		<attribute name="Id" type="ID" use="optional"/> +	</complexType> +	<element name="KeyName" type="string"/> +	<element name="MgmtData" type="string"/> +	<element name="KeyValue" type="ds:KeyValueType"/> +	<complexType name="KeyValueType" mixed="true"> +		<choice> +			<element ref="ds:DSAKeyValue"/> +			<element ref="ds:RSAKeyValue"/> +			<any namespace="##other" processContents="lax"/> +		</choice> +	</complexType> +	<element name="RetrievalMethod" type="ds:RetrievalMethodType"/> +	<complexType name="RetrievalMethodType"> +		<sequence> +			<element name="Transforms" type="ds:TransformsType" minOccurs="0"/> +		</sequence> +		<attribute name="URI" type="anyURI"/> +		<attribute name="Type" type="anyURI" use="optional"/> +	</complexType> +	<!-- Start X509Data --> +	<element name="X509Data" type="ds:X509DataType"/> +	<complexType name="X509DataType"> +		<sequence maxOccurs="unbounded"> +			<choice> +				<element name="X509IssuerSerial" type="ds:X509IssuerSerialType"/> +				<element name="X509SKI" type="ds:CryptoBinary"/> +				<element name="X509SubjectName" type="string"/> +				<element name="X509Certificate" type="ds:CryptoBinary"/> +				<element name="X509CRL" type="ds:CryptoBinary"/> +				<any namespace="##other" processContents="lax"/> +			</choice> +		</sequence> +	</complexType> +	<complexType name="X509IssuerSerialType"> +		<sequence> +			<element name="X509IssuerName" type="string"/> +			<element name="X509SerialNumber" type="integer"/> +		</sequence> +	</complexType> +	<!-- End X509Data --> +	<!-- Begin PGPData --> +	<element name="PGPData" type="ds:PGPDataType"/> +	<complexType name="PGPDataType"> +		<choice> +			<sequence> +				<element name="PGPKeyID" type="ds:CryptoBinary"/> +				<element name="PGPKeyPacket" type="ds:CryptoBinary" minOccurs="0"/> +				<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> +			</sequence> +			<sequence> +				<element name="PGPKeyPacket" type="ds:CryptoBinary"/> +				<any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> +			</sequence> +		</choice> +	</complexType> +	<!-- End PGPData --> +	<!-- Begin SPKIData --> +	<element name="SPKIData" type="ds:SPKIDataType"/> +	<complexType name="SPKIDataType"> +		<sequence maxOccurs="unbounded"> +			<element name="SPKISexp" type="ds:CryptoBinary"/> +			<any namespace="##other" processContents="lax" minOccurs="0"/> +		</sequence> +	</complexType> +	<!-- End SPKIData --> +	<!-- End KeyInfo --> +	<!-- 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"/> +		</sequence> +		<attribute name="Id" type="ID" use="optional"/> +		<attribute name="MimeType" type="string" use="optional"/> +		<attribute name="Encoding" type="anyURI" use="optional"/> +		<!-- add a grep facet --> +	</complexType> +	<element name="Manifest" type="ds:ManifestType"/> +	<complexType name="ManifestType"> +		<sequence> +			<element ref="ds:Reference" maxOccurs="unbounded"/> +		</sequence> +		<attribute name="Id" type="ID" use="optional"/> +	</complexType> +	<element name="SignatureProperties" type="ds:SignaturePropertiesType"/> +	<complexType name="SignaturePropertiesType"> +		<sequence> +			<element ref="ds:SignatureProperty" maxOccurs="unbounded"/> +		</sequence> +		<attribute name="Id" type="ID" use="optional"/> +	</complexType> +	<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 --> +		</choice> +		<attribute name="Target" type="anyURI" use="required"/> +		<attribute name="Id" type="ID" use="optional"/> +	</complexType> +	<!-- End Object (Manifest, SignatureProperty) --> +	<!-- Start Algorithm Parameters --> +	<simpleType name="HMACOutputLengthType"> +		<restriction base="integer"/> +	</simpleType> +	<!-- Start KeyValue Element-types --> +	<element name="DSAKeyValue" type="ds:DSAKeyValueType"/> +	<complexType name="DSAKeyValueType"> +		<sequence> +			<sequence minOccurs="0"> +				<element name="P" type="ds:CryptoBinary"/> +				<element name="Q" type="ds:CryptoBinary"/> +			</sequence> +			<element name="J" type="ds:CryptoBinary" minOccurs="0"/> +			<element name="G" type="ds:CryptoBinary" minOccurs="0"/> +			<element name="Y" type="ds:CryptoBinary"/> +			<sequence minOccurs="0"> +				<element name="Seed" type="ds:CryptoBinary"/> +				<element name="PgenCounter" type="ds:CryptoBinary"/> +			</sequence> +		</sequence> +	</complexType> +	<element name="RSAKeyValue" type="ds:RSAKeyValueType"/> +	<complexType name="RSAKeyValueType"> +		<sequence> +			<element name="Modulus" type="ds:CryptoBinary"/> +			<element name="Exponent" type="ds:CryptoBinary"/> +		</sequence> +	</complexType> +	<!-- End KeyValue Element-types --> +	<!-- End Signature --> +</schema> diff --git a/src/main/resources/wsdl/zusespec/recipientnotification.xsd b/src/main/resources/wsdl/zusespec/recipientnotification.xsd new file mode 100644 index 0000000..5dec034 --- /dev/null +++ b/src/main/resources/wsdl/zusespec/recipientnotification.xsd @@ -0,0 +1,100 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!-- edited with XMLSpy v2006 sp2 U (http://www.altova.com) by Arne Tauber (Technische Universität Graz) --> +<xs:schema xmlns:dsig="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://reference.e-government.gv.at/namespace/zustellung/recipientnotification" targetNamespace="http://reference.e-government.gv.at/namespace/zustellung/recipientnotification" elementFormDefault="qualified" attributeFormDefault="unqualified"> +	<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="W3C-XMLDSig.xsd"/> +	<!--### root elements ###--> +	<xs:element name="ElectronicNotification"> +		<xs:annotation> +			<xs:documentation>Elektronische Verständigung</xs:documentation> +		</xs:annotation> +		<xs:complexType> +			<xs:sequence> +				<xs:element name="Sender"> +					<xs:complexType> +						<xs:sequence> +							<xs:element ref="Name"/> +						</xs:sequence> +					</xs:complexType> +				</xs:element> +				<xs:element name="Recipient" minOccurs="0"> +					<xs:complexType> +						<xs:sequence> +							<xs:element ref="Name"/> +							<xs:element name="AddressLine" type="xs:token"/> +							<xs:element name="PostalCode" type="xs:token"/> +							<xs:element name="Municipality" type="xs:token"/> +						</xs:sequence> +					</xs:complexType> +				</xs:element> +				<xs:element ref="DeliveryID"/> +				<xs:element ref="DeliveryQuality"/> +				<xs:element name="DeliveryNumber" type="xs:string"/> +				<xs:element ref="DeliveryServer"/> +				<xs:element name="Dates"> +					<xs:complexType> +						<xs:sequence> +							<xs:element ref="FirstNotification"/> +							<xs:element ref="SecondNotification" minOccurs="0"/> +							<xs:element ref="DueDate"/> +						</xs:sequence> +					</xs:complexType> +				</xs:element> +				<xs:element ref="dsig:Signature"/> +			</xs:sequence> +		</xs:complexType> +	</xs:element> +	<xs:element name="PaperNotification"> +		<xs:annotation> +			<xs:documentation>Postalische Verständigung</xs:documentation> +		</xs:annotation> +		<xs:complexType> +			<xs:sequence> +				<xs:element name="Sender"> +					<xs:complexType> +						<xs:sequence> +							<xs:element ref="Name"/> +						</xs:sequence> +					</xs:complexType> +				</xs:element> +				<xs:element name="Recipient"> +					<xs:complexType> +						<xs:sequence> +							<xs:element ref="Name"/> +							<xs:element name="AddressLine" type="xs:token"/> +							<xs:element name="PostalCode" type="xs:token"/> +							<xs:element name="Municipality" type="xs:token"/> +						</xs:sequence> +					</xs:complexType> +				</xs:element> +				<xs:element ref="DeliveryID"/> +				<xs:element ref="DeliveryQuality"/> +				<xs:element ref="DeliveryServer"/> +				<xs:element name="Dates"> +					<xs:complexType> +						<xs:sequence> +							<xs:element ref="DueDate"/> +						</xs:sequence> +					</xs:complexType> +				</xs:element> +				<xs:element ref="dsig:Signature"/> +			</xs:sequence> +		</xs:complexType> +	</xs:element> +	<!--### helper eleemnts ###--> +	<xs:element name="Name" type="xs:token"/> +	<xs:element name="Email" type="xs:token"/> +	<xs:element name="DeliveryQuality"> +		<xs:simpleType> +			<xs:restriction base="xs:token"> +				<xs:enumeration value="RSa"/> +				<xs:enumeration value="nonRSa"/> +			</xs:restriction> +		</xs:simpleType> +	</xs:element> +	<xs:element name="DeliveryServer" type="xs:anyURI"/> +	<xs:element name="DeliveryID" type="xs:token"/> +	<xs:element name="FirstNotification" type="xs:dateTime"/> +	<xs:element name="SecondNotification" type="xs:dateTime"/> +	<xs:element name="ThirdNotification" type="xs:date"/> +	<xs:element name="DueDate" type="xs:date"/> +</xs:schema> | 
