diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/main/resources/zusemsg/XAdES-etsi-v122.xsd | 404 | ||||
-rw-r--r-- | src/main/resources/zusemsg/app2zuse_p2.wsdl | 60 | ||||
-rw-r--r-- | src/main/resources/zusemsg/xenc-schema.xsd | 107 |
3 files changed, 571 insertions, 0 deletions
diff --git a/src/main/resources/zusemsg/XAdES-etsi-v122.xsd b/src/main/resources/zusemsg/XAdES-etsi-v122.xsd new file mode 100644 index 0000000..5589bf4 --- /dev/null +++ b/src/main/resources/zusemsg/XAdES-etsi-v122.xsd @@ -0,0 +1,404 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!--Generated by Turbo XML. Conforms to w3c http://www.w3.org/2001/XMLSchema--> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xaes="http://uri.etsi.org/01903/v1.2.2#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsd="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/01903/v1.2.2#" elementFormDefault="qualified"> + <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="W3C-XMLDSig.xsd"/> + <!-- Start auxiliary types definitions: AnyType, ObjectIdentifierType, +EncapsulatedPKIDataType and TimestampType--> + <!-- Start AnyType --> + <element name="Any" type="xaes:AnyType"/> + <complexType name="AnyType" mixed="true"> + <sequence minOccurs="0" maxOccurs="unbounded"> + <any namespace="##any" processContents="lax"/> + </sequence> + <anyAttribute namespace="##any" processContents="strict"/> + </complexType> + <!-- End AnyType --> + <!-- Start ObjectIdentifierType--> + <element name="ObjectIdentifier" type="xaes:ObjectIdentifierType"/> + <complexType name="ObjectIdentifierType"> + <sequence> + <element name="Identifier" type="xaes:IdentifierType"/> + <element name="Description" type="string" minOccurs="0"/> + <element name="DocumentationReferences" type="xaes:DocumentationReferencesType" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="IdentifierType"> + <simpleContent> + <extension base="anyURI"> + <attribute name="Qualifier" type="xaes:QualifierType"/> + </extension> + </simpleContent> + </complexType> + <simpleType name="QualifierType"> + <restriction base="string"> + <enumeration value="OIDAsURI"/> + <enumeration value="OIDAsURN"/> + </restriction> + </simpleType> + <complexType name="DocumentationReferencesType"> + <sequence maxOccurs="unbounded"> + <element name="DocumentationReference" type="anyURI"/> + </sequence> + </complexType> + <!-- End ObjectIdentifierType--> + <!-- Start EncapsulatedPKIDataType--> + <element name="EncapsulatedPKIData" type="xaes:EncapsulatedPKIDataType"/> + <complexType name="EncapsulatedPKIDataType"> + <simpleContent> + <extension base="base64Binary"> + <attribute name="Id" type="ID"/> + </extension> + </simpleContent> + </complexType> + <!-- End EncapsulatedPKIDataType --> + <!-- Start TimeStampType --> + <element name="TimeStamp" type="xaes:TimeStampType"/> + <complexType name="TimeStampType"> + <sequence> + <element name="Include" type="xaes:IncludeType" maxOccurs="unbounded"/> + <element ref="ds:CanonicalizationMethod" minOccurs="0"/> + <choice> + <element name="EncapsulatedTimeStamp" type="xaes:EncapsulatedPKIDataType"/> + <element name="XMLTimeStamp" type="xaes:AnyType"/> + </choice> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="IncludeType"> + <attribute name="URI" type="anyURI" use="required"/> + <attribute name="referencedData" type="boolean"/> + </complexType> + <!-- End TimeStampType --> + <!-- End auxiliary types definitions--> + <!-- Start container types --> + <!-- Start QualifyingProperties --> + <element name="QualifyingProperties" type="xaes:QualifyingPropertiesType"/> + <complexType name="QualifyingPropertiesType"> + <sequence> + <element name="SignedProperties" type="xaes:SignedPropertiesType" minOccurs="0"/> + <element name="UnsignedProperties" type="xaes:UnsignedPropertiesType" minOccurs="0"/> + </sequence> + <attribute name="Target" type="anyURI" use="required"/> + <attribute name="Id" type="ID"/> + </complexType> + <!-- End QualifyingProperties --> + <!-- Start SignedProperties--> + <element name="SignedProperties" type="xaes:SignedPropertiesType"/> + <complexType name="SignedPropertiesType"> + <sequence> + <element name="SignedSignatureProperties" type="xaes:SignedSignaturePropertiesType"/> + <element name="SignedDataObjectProperties" type="xaes:SignedDataObjectPropertiesType" minOccurs="0"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <!-- End SignedProperties--> + <!-- Start UnsignedProperties--> + <element name="UnsignedProperties" type="xaes:UnsignedPropertiesType"/> + <complexType name="UnsignedPropertiesType"> + <sequence> + <element name="UnsignedSignatureProperties" type="xaes:UnsignedSignaturePropertiesType" minOccurs="0"/> + <element name="UnsignedDataObjectProperties" type="xaes:UnsignedDataObjectPropertiesType" minOccurs="0"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <!-- End UnsignedProperties--> + <!-- Start SignedSignatureProperties--> + <element name="SignedSignatureProperties" type="xaes:SignedSignaturePropertiesType"/> + <complexType name="SignedSignaturePropertiesType"> + <sequence> + <element name="SigningTime" type="dateTime" minOccurs="0"/> + <element name="SigningCertificate" type="xaes:CertIDListType" minOccurs="0"/> + <element name="SignaturePolicyIdentifier" type="xaes:SignaturePolicyIdentifierType" minOccurs="0"/> + <element name="SignatureProductionPlace" type="xaes:SignatureProductionPlaceType" minOccurs="0"/> + <element name="SignerRole" type="xaes:SignerRoleType" minOccurs="0"/> + </sequence> + </complexType> + <!-- End SignedSignatureProperties--> + <!-- Start SignedDataObjectProperties--> + <element name="SignedDataObjectProperties" type="xaes:SignedDataObjectPropertiesType"/> + <complexType name="SignedDataObjectPropertiesType"> + <sequence> + <element name="DataObjectFormat" type="xaes:DataObjectFormatType" minOccurs="0" maxOccurs="unbounded"/> + <element name="CommitmentTypeIndication" type="xaes:CommitmentTypeIndicationType" minOccurs="0" maxOccurs="unbounded"/> + <element name="AllDataObjectsTimeStamp" type="xaes:TimeStampType" minOccurs="0" maxOccurs="unbounded"/> + <element name="IndividualDataObjectsTimeStamp" type="xaes:TimeStampType" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End SignedDataObjectProperties--> + <!-- Start UnsignedSignatureProperties--> + <element name="UnsignedSignatureProperties" type="xaes:UnsignedSignaturePropertiesType"/> + <complexType name="UnsignedSignaturePropertiesType"> + <sequence> + <element name="CounterSignature" type="xaes:CounterSignatureType" minOccurs="0" maxOccurs="unbounded"/> + <element name="SignatureTimeStamp" type="xaes:TimeStampType" minOccurs="0" maxOccurs="unbounded"/> + <element name="CompleteCertificateRefs" type="xaes:CompleteCertificateRefsType" minOccurs="0"/> + <element name="CompleteRevocationRefs" type="xaes:CompleteRevocationRefsType" minOccurs="0"/> + <element name="AttributeCertificateRefs" type="xaes:CompleteCertificateRefsType" minOccurs="0"/> + <element name="AttributeRevocationRefs" type="xaes:CompleteRevocationRefsType" minOccurs="0"/> + <choice> + <element name="SigAndRefsTimeStamp" type="xaes:TimeStampType" minOccurs="0" maxOccurs="unbounded"/> + <element name="RefsOnlyTimeStamp" type="xaes:TimeStampType" minOccurs="0" maxOccurs="unbounded"/> + </choice> + <element name="CertificateValues" type="xaes:CertificateValuesType" minOccurs="0"/> + <element name="RevocationValues" type="xaes:RevocationValuesType" minOccurs="0"/> + <element name="ArchiveTimeStamp" type="xaes:TimeStampType" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End UnsignedSignatureProperties--> + <!-- Start UnsignedDataObjectProperties--> + <element name="UnsignedDataObjectProperties" type="xaes:UnsignedDataObjectPropertiesType"/> + <complexType name="UnsignedDataObjectPropertiesType"> + <sequence> + <element name="UnsignedDataObjectProperty" type="xaes:AnyType" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End UnsignedDataObjectProperties--> + <!-- Start QualifyingPropertiesReference--> + <element name="QualifyingPropertiesReference" type="xaes:QualifyingPropertiesReferenceType"/> + <complexType name="QualifyingPropertiesReferenceType"> + <sequence> + <element ref="ds:Transforms" minOccurs="0"/> + </sequence> + <attribute name="URI" type="anyURI" use="required"/> + <attribute name="Id" type="ID"/> + </complexType> + <!-- End QualifyingPropertiesReference--> + <!-- End container types --> + <!-- Start SigningTime element --> + <element name="SigningTime" type="dateTime"/> + <!-- End SigningTime element --> + <!-- Start SigningCertificate --> + <element name="SigningCertificate" type="xaes:CertIDListType"/> + <complexType name="CertIDListType"> + <sequence> + <element name="Cert" type="xaes:CertIDType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="CertIDType"> + <sequence> + <element name="CertDigest" type="xaes:DigestAlgAndValueType"/> + <element name="IssuerSerial" type="ds:X509IssuerSerialType"/> + </sequence> + <attribute name="URI" type="anyURI"/> + </complexType> + <complexType name="DigestAlgAndValueType"> + <sequence> + <element ref="ds:DigestMethod"/> + <element ref="ds:DigestValue"/> + </sequence> + </complexType> + <!-- End SigningCertificate --> + <!-- Start SignaturePolicyIdentifier --> + <element name="SignaturePolicyIdentifier" type="xaes:SignaturePolicyIdentifierType"/> + <complexType name="SignaturePolicyIdentifierType"> + <choice> + <element name="SignaturePolicyId" type="xaes:SignaturePolicyIdType"/> + <element name="SignaturePolicyImplied"/> + </choice> + </complexType> + <complexType name="SignaturePolicyIdType"> + <sequence> + <element name="SigPolicyId" type="xaes:ObjectIdentifierType"/> + <element ref="ds:Transforms" minOccurs="0"/> + <element name="SigPolicyHash" type="xaes:DigestAlgAndValueType"/> + <element name="SigPolicyQualifiers" type="xaes:SigPolicyQualifiersListType" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="SigPolicyQualifiersListType"> + <sequence> + <element name="SigPolicyQualifier" type="xaes:AnyType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <element name="SPURI" type="anyURI"/> + <element name="SPUserNotice" type="xaes:SPUserNoticeType"/> + <complexType name="SPUserNoticeType"> + <sequence> + <element name="NoticeRef" type="xaes:NoticeReferenceType" minOccurs="0"/> + <element name="ExplicitText" type="string" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="NoticeReferenceType"> + <sequence> + <element name="Organization" type="string"/> + <element name="NoticeNumbers" type="xaes:IntegerListType"/> + </sequence> + </complexType> + <complexType name="IntegerListType"> + <sequence> + <element name="int" type="integer" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End SignaturePolicyIdentifier --> + <!-- Start CounterSignature --> + <element name="CounterSignature" type="xaes:CounterSignatureType"/> + <complexType name="CounterSignatureType"> + <sequence> + <element ref="ds:Signature"/> + </sequence> + </complexType> + <!-- End CounterSignature --> + <!-- Start DataObjectFormat --> + <element name="DataObjectFormat" type="xaes:DataObjectFormatType"/> + <complexType name="DataObjectFormatType"> + <sequence> + <element name="Description" type="string" minOccurs="0"/> + <element name="ObjectIdentifier" type="xaes:ObjectIdentifierType" minOccurs="0"/> + <element name="MimeType" type="string" minOccurs="0"/> + <element name="Encoding" type="anyURI" minOccurs="0"/> + </sequence> + <attribute name="ObjectReference" type="anyURI" use="required"/> + </complexType> + <!-- End DataObjectFormat --> + <!-- Start CommitmentTypeIndication --> + <element name="CommitmentTypeIndication" type="xaes:CommitmentTypeIndicationType"/> + <complexType name="CommitmentTypeIndicationType"> + <sequence> + <element name="CommitmentTypeId" type="xaes:ObjectIdentifierType"/> + <choice> + <element name="ObjectReference" type="anyURI" minOccurs="0" maxOccurs="unbounded"/> + <element name="AllSignedDataObjects"/> + </choice> + <element name="CommitmentTypeQualifiers" type="xaes:CommitmentTypeQualifiersListType" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="CommitmentTypeQualifiersListType"> + <sequence> + <element name="CommitmentTypeQualifier" type="xaes:AnyType" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End CommitmentTypeIndication --> + <!-- Start SignatureProductionPlace --> + <element name="SignatureProductionPlace" type="xaes:SignatureProductionPlaceType"/> + <complexType name="SignatureProductionPlaceType"> + <sequence> + <element name="City" type="string" minOccurs="0"/> + <element name="StateOrProvince" type="string" minOccurs="0"/> + <element name="PostalCode" type="string" minOccurs="0"/> + <element name="CountryName" type="string" minOccurs="0"/> + </sequence> + </complexType> + <!-- End SignatureProductionPlace --> + <!-- Start SignerRole --> + <element name="SignerRole" type="xaes:SignerRoleType"/> + <complexType name="SignerRoleType"> + <sequence> + <element name="ClaimedRoles" type="xaes:ClaimedRolesListType" minOccurs="0"/> + <element name="CertifiedRoles" type="xaes:CertifiedRolesListType" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="ClaimedRolesListType"> + <sequence> + <element name="ClaimedRole" type="xaes:AnyType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="CertifiedRolesListType"> + <sequence> + <element name="CertifiedRole" type="xaes:EncapsulatedPKIDataType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End SignerRole --> + <element name="AllDataObjectsTimeStamp" type="xaes:TimeStampType"/> + <element name="IndividualDataObjectsTimeStamp" type="xaes:TimeStampType"/> + <element name="SignatureTimeStamp" type="xaes:TimeStampType"/> + <!-- Start CompleteCertificateRefs --> + <element name="CompleteCertificateRefs" type="xaes:CompleteCertificateRefsType"/> + <complexType name="CompleteCertificateRefsType"> + <sequence> + <element name="CertRefs" type="xaes:CertIDListType"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <!-- End CompleteCertificateRefs --> + <!-- Start CompleteRevocationRefs--> + <element name="CompleteRevocationRefs" type="xaes:CompleteRevocationRefsType"/> + <complexType name="CompleteRevocationRefsType"> + <sequence> + <element name="CRLRefs" type="xaes:CRLRefsType" minOccurs="0"/> + <element name="OCSPRefs" type="xaes:OCSPRefsType" minOccurs="0"/> + <element name="OtherRefs" type="xaes:OtherCertStatusRefsType" minOccurs="0"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="CRLRefsType"> + <sequence> + <element name="CRLRef" type="xaes:CRLRefType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="CRLRefType"> + <sequence> + <element name="DigestAlgAndValue" type="xaes:DigestAlgAndValueType"/> + <element name="CRLIdentifier" type="xaes:CRLIdentifierType" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="CRLIdentifierType"> + <sequence> + <element name="Issuer" type="string"/> + <element name="IssueTime" type="dateTime"/> + <element name="Number" type="integer" minOccurs="0"/> + </sequence> + <attribute name="URI" type="anyURI"/> + </complexType> + <complexType name="OCSPRefsType"> + <sequence> + <element name="OCSPRef" type="xaes:OCSPRefType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="OCSPRefType"> + <sequence> + <element name="OCSPIdentifier" type="xaes:OCSPIdentifierType"/> + <element name="DigestAlgAndValue" type="xaes:DigestAlgAndValueType" minOccurs="0"/> + </sequence> + </complexType> + <complexType name="OCSPIdentifierType"> + <sequence> + <element name="ResponderID" type="string"/> + <element name="ProducedAt" type="dateTime"/> + </sequence> + <attribute name="URI" type="anyURI"/> + </complexType> + <complexType name="OtherCertStatusRefsType"> + <sequence> + <element name="OtherRef" type="xaes:AnyType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End CompleteRevocationRefs--> + <element name="SigAndRefsTimeStamp" type="xaes:TimeStampType"/> + <element name="RefsOnlyTimeStamp" type="xaes:TimeStampType"/> + <!-- Start CertificateValues --> + <element name="CertificateValues" type="xaes:CertificateValuesType"/> + <complexType name="CertificateValuesType"> + <choice minOccurs="0" maxOccurs="unbounded"> + <element name="EncapsulatedX509Certificate" type="xaes:EncapsulatedPKIDataType"/> + <element name="OtherCertificate" type="xaes:AnyType"/> + </choice> + <attribute name="Id" type="ID"/> + </complexType> + <!-- End CertificateValues --> + <!-- Start RevocationValues--> + <element name="RevocationValues" type="xaes:RevocationValuesType"/> + <complexType name="RevocationValuesType"> + <sequence> + <element name="CRLValues" type="xaes:CRLValuesType" minOccurs="0"/> + <element name="OCSPValues" type="xaes:OCSPValuesType" minOccurs="0"/> + <element name="OtherValues" type="xaes:OtherCertStatusValuesType" minOccurs="0"/> + </sequence> + <attribute name="Id" type="ID"/> + </complexType> + <complexType name="CRLValuesType"> + <sequence> + <element name="EncapsulatedCRLValue" type="xaes:EncapsulatedPKIDataType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="OCSPValuesType"> + <sequence> + <element name="EncapsulatedOCSPValue" type="xaes:EncapsulatedPKIDataType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <complexType name="OtherCertStatusValuesType"> + <sequence> + <element name="OtherValue" type="xaes:AnyType" maxOccurs="unbounded"/> + </sequence> + </complexType> + <!-- End RevocationValues--> + <element name="ArchiveTimeStamp" type="xaes:TimeStampType"/> +</schema> diff --git a/src/main/resources/zusemsg/app2zuse_p2.wsdl b/src/main/resources/zusemsg/app2zuse_p2.wsdl new file mode 100644 index 0000000..013e121 --- /dev/null +++ b/src/main/resources/zusemsg/app2zuse_p2.wsdl @@ -0,0 +1,60 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<wsdl:definitions xmlns:wsdl="http://schemas.xmlsoap.org/wsdl/" xmlns:msg="http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#" xmlns:soap12="http://schemas.xmlsoap.org/wsdl/soap12/" xmlns:service="http://reference.e-government.gv.at/namespace/zustellung/app2zuse/phase2/20181206#" targetNamespace="http://reference.e-government.gv.at/namespace/zustellung/app2zuse/phase2/20181206#"> + <wsdl:types> + <xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:vc="http://www.w3.org/2007/XMLSchema-versioning" elementFormDefault="qualified" attributeFormDefault="unqualified" vc:minVersion="1.1"> + <xs:import namespace="http://reference.e-government.gv.at/namespace/zustellung/msg/phase2/20181206#" schemaLocation="zuse_p2.xsd"/> + </xs:schema> + </wsdl:types> + <wsdl:message name="DeliveryRequest"> + <wsdl:part name="DeliveryRequest" element="msg:DeliveryRequest"> + </wsdl:part> + </wsdl:message> + <wsdl:message name="DeliveryResponse"> + <wsdl:part name="DeliveryResponse" element="msg:DeliveryResponse"> + </wsdl:part> + </wsdl:message> + <wsdl:message name="GetVersionRequest"> + <wsdl:part name="GetVersionRequest" element="msg:GetVersionRequest"> + </wsdl:part> + </wsdl:message> + <wsdl:message name="GetVersionResponse"> + <wsdl:part name="GetVersionResponse" element="msg:GetVersionResponse"> + </wsdl:part> + </wsdl:message> + <wsdl:portType name="App2ZusePort"> + <wsdl:operation name="Delivery"> + <wsdl:input name="DeliveryRequest" message="service:DeliveryRequest"/> + <wsdl:output name="DeliveryResponse" message="service:DeliveryResponse"/> + </wsdl:operation> + <wsdl:operation name="GetVersion"> + <wsdl:input name="GetVersionRequest" message="service:GetVersionRequest"/> + <wsdl:output name="GetVersionResponse" message="service:GetVersionResponse"/> + </wsdl:operation> + </wsdl:portType> + <wsdl:binding name="App2ZusePortSoap12" type="service:App2ZusePort"> + <soap12:binding style="document" transport="http://schemas.xmlsoap.org/soap/http"/> + <wsdl:operation name="Delivery"> + <soap12:operation soapAction="Delivery" soapActionRequired="false"/> + <wsdl:input name="DeliveryRequest"> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output name="DeliveryResponse"> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + <wsdl:operation name="GetVersion"> + <soap12:operation soapAction="GetVersion" soapActionRequired="false"/> + <wsdl:input name="GetVersionRequest"> + <soap12:body use="literal"/> + </wsdl:input> + <wsdl:output name="GetVersionResponse"> + <soap12:body use="literal"/> + </wsdl:output> + </wsdl:operation> + </wsdl:binding> + <wsdl:service name="App2ZusePortService"> + <wsdl:port name="App2ZusePortSoap12" binding="service:App2ZusePortSoap12"> + <soap12:address location="/zuse"/> + </wsdl:port> + </wsdl:service> +</wsdl:definitions> diff --git a/src/main/resources/zusemsg/xenc-schema.xsd b/src/main/resources/zusemsg/xenc-schema.xsd new file mode 100644 index 0000000..f6f3787 --- /dev/null +++ b/src/main/resources/zusemsg/xenc-schema.xsd @@ -0,0 +1,107 @@ +<?xml version="1.0" encoding="UTF-8"?> +<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:xenc="http://www.w3.org/2001/04/xmlenc#" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" targetNamespace="http://www.w3.org/2001/04/xmlenc#" elementFormDefault="qualified" version="1.0"> + <import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="W3C-XMLDSig.xsd"/> + <complexType name="EncryptedType" abstract="true"> + <sequence> + <element name="EncryptionMethod" type="xenc:EncryptionMethodType" minOccurs="0"/> + <element ref="ds:KeyInfo" minOccurs="0"/> + <element ref="xenc:CipherData"/> + <element ref="xenc:EncryptionProperties" minOccurs="0"/> + </sequence> + <attribute name="Id" type="ID" use="optional"/> + <attribute name="Type" type="anyURI" use="optional"/> + <attribute name="MimeType" type="string" use="optional"/> + <attribute name="Encoding" type="anyURI" use="optional"/> + </complexType> + <complexType name="EncryptionMethodType" mixed="true"> + <sequence> + <element name="KeySize" type="xenc:KeySizeType" minOccurs="0"/> + <element name="OAEPparams" type="base64Binary" minOccurs="0"/> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="Algorithm" type="anyURI" use="required"/> + </complexType> + <simpleType name="KeySizeType"> + <restriction base="integer"/> + </simpleType> + <element name="CipherData" type="xenc:CipherDataType"/> + <complexType name="CipherDataType"> + <choice> + <element name="CipherValue" type="base64Binary"/> + <element ref="xenc:CipherReference"/> + </choice> + </complexType> + <element name="CipherReference" type="xenc:CipherReferenceType"/> + <complexType name="CipherReferenceType"> + <choice> + <element name="Transforms" type="xenc:TransformsType" minOccurs="0"/> + </choice> + <attribute name="URI" type="anyURI" use="required"/> + </complexType> + <complexType name="TransformsType"> + <sequence> + <element ref="ds:Transform" maxOccurs="unbounded"/> + </sequence> + </complexType> + <element name="EncryptedData" type="xenc:EncryptedDataType"/> + <complexType name="EncryptedDataType"> + <complexContent> + <extension base="xenc:EncryptedType"/> + </complexContent> + </complexType> + <!-- Children of ds:KeyInfo --> + <element name="EncryptedKey" type="xenc:EncryptedKeyType"/> + <complexType name="EncryptedKeyType"> + <complexContent> + <extension base="xenc:EncryptedType"> + <sequence> + <element ref="xenc:ReferenceList" minOccurs="0"/> + <element name="CarriedKeyName" type="string" minOccurs="0"/> + </sequence> + <attribute name="Recipient" type="string" use="optional"/> + </extension> + </complexContent> + </complexType> + <element name="AgreementMethod" type="xenc:AgreementMethodType"/> + <complexType name="AgreementMethodType" mixed="true"> + <sequence> + <element name="KA-Nonce" type="base64Binary" minOccurs="0"/> + <!-- <element ref="ds:DigestMethod" minOccurs="0"/> --> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> + <element name="OriginatorKeyInfo" type="ds:KeyInfoType" minOccurs="0"/> + <element name="RecipientKeyInfo" type="ds:KeyInfoType" minOccurs="0"/> + </sequence> + <attribute name="Algorithm" type="anyURI" use="required"/> + </complexType> + <!-- End Children of ds:KeyInfo --> + <element name="ReferenceList"> + <complexType> + <choice maxOccurs="unbounded"> + <element name="DataReference" type="xenc:ReferenceType"/> + <element name="KeyReference" type="xenc:ReferenceType"/> + </choice> + </complexType> + </element> + <complexType name="ReferenceType"> + <sequence> + <any namespace="##other" minOccurs="0" maxOccurs="unbounded"/> + </sequence> + <attribute name="URI" type="anyURI" use="required"/> + </complexType> + <element name="EncryptionProperties" type="xenc:EncryptionPropertiesType"/> + <complexType name="EncryptionPropertiesType"> + <sequence> + <element ref="xenc:EncryptionProperty" maxOccurs="unbounded"/> + </sequence> + <attribute name="Id" type="ID" use="optional"/> + </complexType> + <element name="EncryptionProperty" type="xenc:EncryptionPropertyType"/> + <complexType name="EncryptionPropertyType" mixed="true"> + <choice maxOccurs="unbounded"> + <any namespace="##other" processContents="lax"/> + </choice> + <attribute name="Target" type="anyURI" use="optional"/> + <attribute name="Id" type="ID" use="optional"/> + <anyAttribute namespace="http://www.w3.org/XML/1998/namespace"/> + </complexType> +</schema> |