Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente |
documentazione_3di_riservata:docway4:fatturapa_validazione [2017/09/25 12:23] – ncandelora | documentazione_3di_riservata:docway4:fatturapa_validazione [Data sconosciuta] (versione attuale) – eliminata - modifica esterna (Data sconosciuta) 127.0.0.1 |
---|
====== Validazione notifica di esito committente ====== | |
| |
Per la validazione dei messaggi di notifica di esito committente (e anche gli altri) è necessario posizionare nella stessa cartella i seguenti file: | |
| |
* file xml della notifica da validare | |
* file xsd dello schema dei messaggi di notifica ([[http://www.fatturapa.gov.it/export/fatturazione/sdi/messaggi/v1.1/MessaggiTypes_v1.1.xsd|MessaggiTypes_v1.1.xsd]]) | |
* file xsd collegato allo schema precedente ([[ftp://ftp.3di.it/extra/schema-fatturapa/xmldsig-core-schema.xsd|xmldsig-core-schema.xsd]]) | |
| |
Il comando da utilizzare per la validazione è il seguente: | |
| |
<code bash> | |
xmllint --schema MessaggiTypes_v1.1.xsd notifica_di_esito.xml | |
</code> | |
| |
Di seguito riporto i due xsd in modo tale che sia possibile scaricarli: | |
| |
<file scheme MessaggiTypes_v1.1.xsd> | |
<?xml version="1.0" encoding="UTF-8"?> | |
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" | |
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | |
xmlns:types="http://www.fatturapa.gov.it/sdi/messaggi/v1.0" | |
targetNamespace="http://www.fatturapa.gov.it/sdi/messaggi/v1.0" | |
version="1.1"> | |
| |
<xsd:import namespace="http://www.w3.org/2000/09/xmldsig#" schemaLocation="xmldsig-core-schema.xsd"/> | |
| |
<!-- =================================================================== --> | |
<!-- ELEMENTI PER TRASMITTENTI --> | |
<!-- =================================================================== --> | |
<xsd:element name="RicevutaConsegna" type="types:RicevutaConsegna_Type" /> | |
<xsd:element name="NotificaMancataConsegna" type="types:NotificaMancataConsegna_Type" /> | |
<xsd:element name="NotificaScarto" type="types:NotificaScarto_Type" /> | |
<xsd:element name="NotificaEsito" type="types:NotificaEsito_Type" /> | |
<xsd:element name="AttestazioneTrasmissioneFattura" type="types:AttestazioneTrasmissioneFattura_Type" /> | |
| |
<!-- =================================================================== --> | |
<!-- ELEMENTI PER RICEVENTI --> | |
<!-- =================================================================== --> | |
<xsd:element name="MetadatiInvioFile" type="types:MetadatiInvioFile_Type" /> | |
<xsd:element name="NotificaEsitoCommittente" type="types:NotificaEsitoCommittente_Type" /> | |
<xsd:element name="ScartoEsitoCommittente" type="types:ScartoEsitoCommittente_Type" /> | |
| |
<!-- =================================================================== --> | |
<!-- ELEMENTI COMUNI A TRASMITTENTI E RICEVENTI --> | |
<!-- =================================================================== --> | |
<xsd:element name="NotificaDecorrenzaTermini" type="types:NotificaDecorrenzaTermini_Type" /> | |
| |
<!-- =================================================================== --> | |
<!-- TIPI EXTRA PER TRASMITTENTI --> | |
<!-- =================================================================== --> | |
<xsd:complexType name="RicevutaConsegna_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="DataOraRicezione" type="xsd:dateTime" /> | |
<xsd:element name="DataOraConsegna" type="xsd:dateTime" /> | |
<xsd:element name="Destinatario" type="types:Destinatario_Type"/> | |
<xsd:element name="RiferimentoArchivio" type="types:RiferimentoArchivio_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
<xsd:attribute name="IntermediarioConDupliceRuolo" type="xsd:string" use="optional" fixed="Si"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="NotificaScarto_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="DataOraRicezione" type="xsd:dateTime" /> | |
<xsd:element name="RiferimentoArchivio" type="types:RiferimentoArchivio_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="ListaErrori" type="types:ListaErrori_Type" /> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="NotificaMancataConsegna_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="DataOraRicezione" type="xsd:dateTime" /> | |
<xsd:element name="RiferimentoArchivio" type="types:RiferimentoArchivio_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Descrizione" type="types:Descrizione_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="NotificaEsito_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="EsitoCommittente" type="types:NotificaEsitoCommittente_Type"/> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
<xsd:attribute name="IntermediarioConDupliceRuolo" type="xsd:string" use="optional" fixed="Si"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="AttestazioneTrasmissioneFattura_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="DataOraRicezione" type="xsd:dateTime" /> | |
<xsd:element name="RiferimentoArchivio" type="types:RiferimentoArchivio_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Destinatario" type="types:Destinatario_Type"/> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="HashFileOriginale" type="xsd:string" /> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="RiferimentoArchivio_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type"/> | |
</xsd:sequence> | |
</xsd:complexType> | |
| |
<xsd:complexType name="ListaErrori_Type"> | |
<xsd:sequence> | |
<xsd:element name="Errore" type="types:Errore_Type" minOccurs="1" maxOccurs="200"/> | |
</xsd:sequence> | |
</xsd:complexType> | |
| |
<xsd:complexType name="Errore_Type"> | |
<xsd:sequence> | |
<xsd:element name="Codice" type="types:Codice_Type" /> | |
<xsd:element name="Descrizione" type="types:Descrizione_Type" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
| |
<xsd:simpleType name="Codice_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:length value="5"/> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<!-- =================================================================== --> | |
<!-- TIPI PER RICEVENTI --> | |
<!-- =================================================================== --> | |
<xsd:complexType name="MetadatiInvioFile_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="CodiceDestinatario" type="types:CodiceDestinatario_Type" /> | |
<xsd:element name="Formato" type="types:Formato_Type" /> | |
<xsd:element name="TentativiInvio" type="xsd:integer" /> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="NotificaEsitoCommittente_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="RiferimentoFattura" type="types:RiferimentoFattura_Type" minOccurs="0" maxOccurs="1" /> | |
<xsd:element name="Esito" type="types:EsitoCommittente_Type" /> | |
<xsd:element name="Descrizione" type="types:Descrizione_Type" minOccurs="0" /> | |
<xsd:element name="MessageIdCommittente" type="types:MessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature" minOccurs="0" maxOccurs="1"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="ScartoEsitoCommittente_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="RiferimentoFattura" type="types:RiferimentoFattura_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Scarto" type="types:Scarto_Type" /> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="MessageIdCommittente" type="types:MessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
</xsd:complexType> | |
| |
<xsd:complexType name="NotificaDecorrenzaTermini_Type"> | |
<xsd:sequence> | |
<xsd:element name="IdentificativoSdI" type="types:IdentificativoSdI_Type" /> | |
<xsd:element name="RiferimentoFattura" type="types:RiferimentoFattura_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="NomeFile" type="types:NomeFile_Type" /> | |
<xsd:element name="Descrizione" type="types:Descrizione_Type" minOccurs="0" /> | |
<xsd:element name="MessageId" type="types:MessageId_Type"/> | |
<xsd:element name="PecMessageId" type="types:PecMessageId_Type" minOccurs="0" maxOccurs="1"/> | |
<xsd:element name="Note" type="xsd:string" minOccurs="0" maxOccurs="1"/> | |
<xsd:element ref="ds:Signature"/> | |
</xsd:sequence> | |
<xsd:attribute name="versione" type="types:Versione_Type" use="required" fixed="1.0"/> | |
<xsd:attribute name="IntermediarioConDupliceRuolo" type="xsd:string" use="optional" fixed="Si"/> | |
</xsd:complexType> | |
| |
<xsd:simpleType name="CodiceDestinatario_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:pattern value="[A-Z0-9]{6,7}"/> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="Formato_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:maxLength value="5"/> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="EsitoCommittente_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:enumeration value="EC01"> | |
<xsd:annotation> | |
<xsd:documentation> | |
EC01 = ACCETTAZIONE | |
</xsd:documentation> | |
</xsd:annotation> | |
</xsd:enumeration> | |
<xsd:enumeration value="EC02"> | |
<xsd:annotation> | |
<xsd:documentation> | |
EC02 = RIFIUTO | |
</xsd:documentation> | |
</xsd:annotation> | |
</xsd:enumeration> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="Scarto_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:enumeration value="EN00"> | |
<xsd:annotation> | |
<xsd:documentation> | |
EN00 = NOTIFICA NON CONFORME AL FORMATO | |
</xsd:documentation> | |
</xsd:annotation> | |
</xsd:enumeration> | |
<xsd:enumeration value="EN01"> | |
<xsd:annotation> | |
<xsd:documentation> | |
EN01 = NOTIFICA NON AMMISSIBILE | |
</xsd:documentation> | |
</xsd:annotation> | |
</xsd:enumeration> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<!-- =================================================================== --> | |
<!-- TIPI COMUNI --> | |
<!-- =================================================================== --> | |
<xsd:simpleType name="IdentificativoSdI_Type"> | |
<xsd:restriction base="xsd:integer"> | |
<xsd:totalDigits value="12" /> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="NomeFile_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:maxLength value="50" /> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:complexType name="RiferimentoFattura_Type"> | |
<xsd:sequence> | |
<xsd:element name="NumeroFattura" type="types:NumeroFattura_Type" /> | |
<xsd:element name="AnnoFattura" type="types:AnnoFattura_Type" /> | |
<xsd:element name="PosizioneFattura" type="xsd:positiveInteger" minOccurs="0" maxOccurs="1" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
| |
<xsd:simpleType name="NumeroFattura_Type"> | |
<xsd:restriction base="xsd:normalizedString"> | |
<xsd:pattern value="(\p{IsBasicLatin}{1,20})" /> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="AnnoFattura_Type"> | |
<xsd:restriction base="xsd:nonNegativeInteger"> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="MessageId_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:minLength value="1" /> | |
<xsd:maxLength value="14" /> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="PecMessageId_Type"> | |
<xsd:restriction base="xsd:string" /> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="Descrizione_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:maxLength value="255" /> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:simpleType name="Versione_Type"> | |
<xsd:restriction base="xsd:string"> | |
<xsd:maxLength value="5"/> | |
</xsd:restriction> | |
</xsd:simpleType> | |
| |
<xsd:complexType name="Destinatario_Type"> | |
<xsd:sequence> | |
<xsd:element name="Codice" type="types:CodiceDestinatario_Type" /> | |
<xsd:element name="Descrizione" type="xsd:string" /> | |
</xsd:sequence> | |
</xsd:complexType> | |
</xsd:schema> | |
</file> | |
| |
<file scheme xmldsig-core-schema.xsd> | |
<?xml version="1.0" encoding="utf-8"?> | |
<!--<!DOCTYPE schema | |
PUBLIC "-//W3C//DTD XMLSchema 200102//EN" "http://www.w3.org/2001/XMLSchema.dtd" | |
[ | |
<!ATTLIST schema | |
xmlns:ds CDATA #FIXED "http://www.w3.org/2000/09/xmldsig#"> | |
<!ENTITY dsig 'http://www.w3.org/2000/09/xmldsig#'> | |
<!ENTITY % p ''> | |
<!ENTITY % s ''> | |
]> | |
| |
--><!-- Schema for XML Signatures | |
http://www.w3.org/2000/09/xmldsig# | |
$Revision: 1.1 $ on $Date: 2002/02/08 20:32:26 $ by $Author: reagle $ | |
| |
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 xmlns="http://www.w3.org/2001/XMLSchema" | |
xmlns:ds="http://www.w3.org/2000/09/xmldsig#" | |
targetNamespace="http://www.w3.org/2000/09/xmldsig#" | |
version="0.1" elementFormDefault="qualified"> | |
| |
<!-- Basic Types Defined for Signatures --> | |
| |
<simpleType name="CryptoBinary"> | |
<restriction base="base64Binary"> | |
</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="base64Binary"> | |
<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" minOccurs="0" type="ds:HMACOutputLengthType"/> | |
<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"/> | |
<!-- (1,1) elements from (0,unbounded) namespaces --> | |
<element name="XPath" type="string"/> | |
</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="base64Binary"/> | |
</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 processContents="lax" namespace="##other"/> | |
<!-- (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 ref="ds:Transforms" 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="base64Binary"/> | |
<element name="X509SubjectName" type="string"/> | |
<element name="X509Certificate" type="base64Binary"/> | |
<element name="X509CRL" type="base64Binary"/> | |
<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="base64Binary"/> | |
<element name="PGPKeyPacket" type="base64Binary" minOccurs="0"/> | |
<any namespace="##other" processContents="lax" minOccurs="0" | |
maxOccurs="unbounded"/> | |
</sequence> | |
<sequence> | |
<element name="PGPKeyPacket" type="base64Binary"/> | |
<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="base64Binary"/> | |
<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"/> <!-- add a grep facet --> | |
<attribute name="Encoding" type="anyURI" use="optional"/> | |
</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="G" type="ds:CryptoBinary" minOccurs="0"/> | |
<element name="Y" type="ds:CryptoBinary"/> | |
<element name="J" type="ds:CryptoBinary" minOccurs="0"/> | |
<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> | |
| |
</file> | |
| |