Commit 01181c72 authored by Laurent Velez's avatar Laurent Velez
Browse files

Initial commit

parents
Pipeline #479 failed with stages
This diff is collapsed.
This diff is collapsed.
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:etsisig="http://uri.etsi.org/19432/v1.1.1#" xmlns:dss2="http://docs.oasis-open.org/dss-x/ns/core" xmlns:dsb="http://docs.oasis-open.org/dss-x/ns/base" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/19432/v1.1.1#" version="1.1.1">
<xs:annotation>
<xs:documentation>
ETSI TS 119 432 Schema Version 1.1.1 Profile for OASIS Digital Signature Service Core Protocols, Elements, and Bindings Version 2.0
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://docs.oasis-open.org/dss-x/ns/core" schemaLocation="oasis-dss-core-schema-v2.0.xsd"/>
<xs:import namespace="http://docs.oasis-open.org/dss-x/ns/base" schemaLocation="oasis-dss-base-schema.xsd"/>
<xs:element name="OperationMode" type="etsisig:OperationModeType"/>
<xs:simpleType name="OperationModeType">
<xs:restriction base="xs:string">
<xs:enumeration value="Synchronous"/>
<xs:enumeration value="Asynchronous"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="SignatureActivationData" type="etsisig:SignatureActivationDataType"/>
<xs:complexType name="SignatureActivationDataType">
<xs:simpleContent>
<xs:extension base="xs:string">
<xs:attribute name="Type" type="xs:string" use="optional"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:element name="ValidityPeriod" type="xs:int"/>
<xs:element name="ReturnSigningCertificate" type="etsisig:ReturnSigningCertificateType"/>
<xs:complexType name="ReturnSigningCertificateType">
<xs:attribute name="ReturnCertificates" type="etsisig:ReturnCertificatesType" use="optional"/>
<xs:attribute name="CertificateInfo" type="xs:boolean" use="optional"/>
<xs:attribute name="AuthorizationInfo" type="xs:boolean" use="optional"/>
</xs:complexType>
<xs:simpleType name="ReturnCertificatesType">
<xs:restriction base="xs:string">
<xs:enumeration value="None"/>
<xs:enumeration value="Single"/>
<xs:enumeration value="Chain"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="NumberOfSignatures" type="xs:int"/>
<xs:element name="SignatureAlgorithmParameters" type="xs:base64Binary"/>
<xs:element name="SignaturePolicyId" type="xs:anyURI"/>
<xs:element name="SignatureType" type="xs:anyURI"/>
<xs:element name="ConformanceLevel" type="xs:anyURI"/>
<xs:element name="SignedEnvelopeProperty" type="xs:string"/>
<xs:element name="AuthorizationMode" type="etsisig:AuthorizationModeType"/>
<xs:simpleType name="AuthorizationModeType">
<xs:restriction base="xs:string">
<xs:enumeration value="Implicit"/>
<xs:enumeration value="Explicit"/>
<xs:enumeration value="AuthorizationCode"/>
<xs:enumeration value="IdentificationToken"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="SoleControlAssuranceLevel" type="etsisig:SoleControlAssuranceLevelType"/>
<xs:simpleType name="SoleControlAssuranceLevelType">
<xs:restriction base="xs:string">
<xs:enumeration value="SCAL1"/>
<xs:enumeration value="SCAL2"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="ServiceInformation" type="etsisig:ServiceInformationType"/>
<xs:complexType name="ServiceInformationType">
<xs:sequence>
<xs:element ref="etsisig:Description"/>
<xs:element ref="etsisig:Version"/>
<xs:element ref="etsisig:Logo"/>
<xs:element ref="etsisig:Region"/>
<xs:element ref="etsisig:SupportedProtocol" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedLanguage" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedSignaturePolicy" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedServicePolicy" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedOperationMode" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedSignatureFormat" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedAuthMode" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:SupportedMethod" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="SupportedSignatureFormatType">
<xs:sequence>
<xs:element name="SupportedSignatureType" type="xs:anyURI" minOccurs="0"/>
<xs:element name="SupportedConformanceLevel" type="xs:anyURI" minOccurs="0"/>
<xs:element name="SupportedEnvelope" type="xs:string" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="Description" type="xs:string"/>
<xs:element name="Version" type="xs:string"/>
<xs:element name="Logo" type="xs:anyURI"/>
<xs:element name="Region" type="xs:string"/>
<xs:element name="SupportedProtocol" type="xs:anyURI" />
<xs:element name="SupportedLanguage" type="xs:language" />
<xs:element name="SupportedSignaturePolicy" type="xs:anyURI" />
<xs:element name="SupportedServicePolicy" type="xs:anyURI" />
<xs:element name="SupportedOperationMode" type="xs:string"/>
<xs:element name="SupportedSignatureFormat" type="etsisig:SupportedSignatureFormatType" />
<xs:element name="SupportedAuthMode" type="xs:string" />
<xs:element name="SupportedMethod" type="xs:string" />
<xs:element name="SignerIdentity" type="dss2:ClaimedIdentityType"/>
<xs:element name="ResponseURL" type="xs:anyURI"/>
<xs:element name="ReturnOptionalData" type="etsisig:ReturnOptionalDataType"/>
<xs:complexType name="ReturnOptionalDataType">
<xs:sequence>
<xs:element ref="etsisig:SigningCertificateInfo" minOccurs="0"/>
<xs:element ref="etsisig:SupportMultiSignatureInfo" minOccurs="0"/>
<xs:element ref="etsisig:ServicePolicyInfo" minOccurs="0"/>
<xs:element ref="etsisig:SignatureCreationPolicyInfo" minOccurs="0"/>
<xs:element ref="etsisig:CredentialAuthorizationModeInfo" minOccurs="0"/>
<xs:element ref="etsisig:SoleControlAssuranceLevelInfo" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="SigningCertificateInfo" type="xs:boolean"/>
<xs:element name="SupportMultiSignatureInfo" type="xs:boolean"/>
<xs:element name="ServicePolicyInfo" type="xs:boolean"/>
<xs:element name="SignatureCreationPolicyInfo" type="xs:boolean"/>
<xs:element name="CredentialAuthorizationModeInfo" type="xs:boolean"/>
<xs:element name="SoleControlAssuranceLevelInfo" type="xs:boolean"/>
<xs:element name="ReturnServiceInformation" type="xs:boolean"/>
<xs:element name="X509Details" type="etsisig:X509DetailsType"/>
<xs:complexType name="X509DetailsType">
<xs:sequence>
<xs:element ref="etsisig:Status"/>
<xs:element ref="etsisig:NotBefore"/>
<xs:element ref="etsisig:NotAfter"/>
</xs:sequence>
</xs:complexType>
<xs:element name="NotBefore" type="xs:dateTime"/>
<xs:element name="NotAfter" type="xs:dateTime"/>
<xs:element name="Status" type="etsisig:CertificateStatusType"/>
<xs:simpleType name="CertificateStatusType">
<xs:restriction base="xs:string">
<xs:enumeration value="Valid"/>
<xs:enumeration value="Expired"/>
<xs:enumeration value="Revoked"/>
<xs:enumeration value="Suspended"/>
</xs:restriction>
</xs:simpleType>
<xs:element name="Enabled" type="xs:boolean"/>
<xs:element name="Algorithm" type="xs:anyURI"/>
<xs:element name="Length" type="xs:int"/>
<xs:element name="Curve" type="xs:anyURI"/>
<xs:element name="KeyDetails" type="etsisig:KeyDetailsType"/>
<xs:complexType name="KeyDetailsType">
<xs:sequence>
<xs:element ref="etsisig:Enabled" minOccurs="0"/>
<xs:element ref="etsisig:Algorithm" minOccurs="0"/>
<xs:element ref="etsisig:Length" minOccurs="0"/>
<xs:element ref="etsisig:Curve" minOccurs="0"/>
</xs:sequence>
</xs:complexType>
<xs:element name="MultipleSignaturesEnabled" type="xs:boolean"/>
<xs:complexType name="OptionalInputsDsvSignType">
<xs:complexContent>
<xs:extension base="dss2:OptionalInputsSignType">
<xs:sequence>
<xs:element ref="etsisig:OperationMode" minOccurs="0"/>
<xs:element ref="etsisig:SignatureActivationData" minOccurs="0"/>
<xs:element ref="etsisig:ReturnOptionalData" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:ValidityPeriod" minOccurs="0"/>
<xs:element ref="etsisig:NumberOfSignatures" minOccurs="0"/>
<xs:element ref="etsisig:SignatureAlgorithmParameters" minOccurs="0"/>
<xs:element ref="etsisig:SignaturePolicyId" minOccurs="0"/>
<xs:element ref="etsisig:ResponseURL" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:dss2="http://docs.oasis-open.org/dss-x/ns/core" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:etsisig="http://uri.etsi.org/19432/v1.1.1#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://docs.oasis-open.org/dss-x/ns/core" version="1.1.1">
<xs:annotation>
<xs:documentation>
ETSI TS 119 432 Schema Version 1.1.1 Extension for OASIS Digital Signature Service Core Protocols, Elements, and Bindings Version 2.0
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://uri.etsi.org/19432/v1.1.1#" schemaLocation="etsi-org-19432-xmlSchema-common.xsd"/>
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xs:redefine schemaLocation="oasis-dss-core-schema-v2.0.xsd">
<xs:complexType name="OptionalInputsSignType">
<xs:complexContent>
<xs:extension base="etsisig:OptionalInputsDsvSignType">
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="OptionalOutputsSignType">
<xs:complexContent>
<xs:extension base="dss2:OptionalOutputsSignType">
<xs:sequence>
<xs:element ref="ds:KeyInfo" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:etsisig="http://uri.etsi.org/19432/v1.1.1#" xmlns:dss2="http://docs.oasis-open.org/dss-x/ns/core" xmlns:dsb="http://docs.oasis-open.org/dss-x/ns/base" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://uri.etsi.org/19432/v1.1.1#" version="1.1.1">
<xs:annotation>
<xs:documentation>
ETSI TS 119 432 Schema Version 1.1.1 Extension for OASIS Digital Signature Service Core Protocols, Elements, and Bindings Version 2.0
</xs:documentation>
</xs:annotation>
<xs:include schemaLocation="etsi-org-19432-xmlSchema-common.xsd"/>
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xs:import namespace="http://docs.oasis-open.org/dss-x/ns/core" schemaLocation="oasis-dss-core-schema-v2.0.xsd"/>
<xs:import namespace="http://docs.oasis-open.org/dss-x/ns/base" schemaLocation="oasis-dss-base-schema.xsd"/>
<xs:element name="InformationRequest" type="etsisig:InformationRequestType"/>
<xs:complexType name="InformationRequestType">
<xs:complexContent>
<xs:extension base="dsb:RequestBaseType">
<xs:sequence>
<xs:element ref="dss2:ClaimedIdentity"/>
<xs:element ref="etsisig:ReturnOptionalData" minOccurs="0"/>
<xs:element ref="etsisig:ReturnSigningCertificate" minOccurs="0"/>
<xs:element ref="etsisig:SignerIdentity" minOccurs="0"/>
<xs:element ref="dss2:KeySelector" minOccurs="0"/>
<xs:element ref="etsisig:ReturnServiceInformation" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:element name="InformationResponse" type="etsisig:InformationResponseType" />
<xs:complexType name="InformationResponseType">
<xs:complexContent>
<xs:extension base="dsb:ResponseBaseType">
<xs:sequence>
<xs:element ref="ds:KeyInfo" minOccurs="0" maxOccurs="unbounded"/>
<xs:element ref="etsisig:AuthorizationMode" minOccurs="0"/>
<xs:element ref="etsisig:SoleControlAssuranceLevel" minOccurs="0"/>
<xs:element ref="etsisig:ServiceInformation" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:schema>
<?xml version="1.0" encoding="utf-8"?>
<xs:schema xmlns:dss2="http://docs.oasis-open.org/dss-x/ns/core" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:etsisig="http://uri.etsi.org/19432/v1.1.1#" xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://docs.oasis-open.org/dss-x/ns/core" version="1.1.1">
<xs:annotation>
<xs:documentation>
ETSI TS 119 432 Schema Version 1.1.1 Extension for OASIS Digital Signature Service Core Protocols, Elements, and Bindings Version 2.0
</xs:documentation>
</xs:annotation>
<xs:import namespace="http://uri.etsi.org/19432/v1.1.1#" schemaLocation="etsi-org-19432-xmlSchema-common.xsd"/>
<xs:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/>
<xs:redefine schemaLocation="oasis-dss-core-schema-v2.0.xsd">
<xs:complexType name="OptionalInputsSignType">
<xs:complexContent>
<xs:extension base="etsisig:OptionalInputsDsvSignType">
<xs:sequence>
<xs:element ref="etsisig:ConformanceLevel" minOccurs="0"/>
<xs:element ref="etsisig:SignatureType" minOccurs="0"/>
<xs:element ref="etsisig:SignedEnvelopeProperty" minOccurs="0"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
<xs:complexType name="OptionalOutputsSignType">
<xs:complexContent>
<xs:extension base="dss2:OptionalOutputsSignType">
<xs:sequence>
<xs:element ref="ds:KeyInfo" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
</xs:extension>
</xs:complexContent>
</xs:complexType>
</xs:redefine>
</xs:schema>
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment