<?xml version="1.0" encoding="UTF-8" standalone="no"?>
<schema xmlns="http://www.w3.org/2001/XMLSchema" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:eb="http://www.roskazna.ru/eb/domain/appinfo" xmlns:self="http://www.w3.org/2000/09/xmldsig#" attributeFormDefault="unqualified" blockDefault="" elementFormDefault="qualified" finalDefault="" targetNamespace="http://www.w3.org/2000/09/xmldsig#">
  <simpleType name="CryptoBinary">
    <restriction base="base64Binary"/>
  </simpleType>
  <element name="Signature" type="ds:SignatureType"/>
  <complexType mixed="false" name="SignatureType">
    <sequence>
      <element ref="ds:SignedInfo"/>
      <element ref="ds:SignatureValue"/>
      <element minOccurs="0" ref="ds:KeyInfo"/>
      <element maxOccurs="unbounded" minOccurs="0" ref="ds:Object"/>
    </sequence>
    <attribute name="Id" type="ID" use="optional"/>
  </complexType>
  <element name="SignatureValue" type="ds:SignatureValueType"/>
  <complexType mixed="false" name="SignatureValueType">
    <simpleContent>
      <extension base="base64Binary">
        <attribute name="Id" type="ID" use="optional"/>
      </extension>
    </simpleContent>
  </complexType>
  <element name="SignedInfo" type="ds:SignedInfoType"/>
  <complexType mixed="false" name="SignedInfoType">
    <sequence>
      <element ref="ds:CanonicalizationMethod"/>
      <element ref="ds:SignatureMethod"/>
      <element maxOccurs="unbounded" ref="ds:Reference"/>
    </sequence>
    <attribute name="Id" type="ID" use="optional"/>
  </complexType>
  <element name="CanonicalizationMethod" type="ds:CanonicalizationMethodType"/>
  <complexType mixed="true" name="CanonicalizationMethodType">
    <sequence>
      <any maxOccurs="unbounded" minOccurs="0" namespace="##any" processContents="strict"/>
    </sequence>
    <attribute name="Algorithm" type="anyURI" use="required"/>
  </complexType>
  <element name="SignatureMethod" type="ds:SignatureMethodType"/>
  <complexType mixed="true" name="SignatureMethodType">
    <sequence>
      <element minOccurs="0" name="HMACOutputLength" type="ds:HMACOutputLengthType"/>
      <any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="strict"/>
    </sequence>
    <attribute name="Algorithm" type="anyURI" use="required"/>
  </complexType>
  <element name="Reference" type="ds:ReferenceType"/>
  <complexType mixed="false" name="ReferenceType">
    <sequence>
      <element minOccurs="0" ref="ds:Transforms"/>
      <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 mixed="false" name="TransformsType">
    <sequence>
      <element maxOccurs="unbounded" ref="ds:Transform"/>
    </sequence>
  </complexType>
  <element name="Transform" type="ds:TransformType"/>
  <complexType mixed="true" name="TransformType">
    <choice maxOccurs="unbounded" minOccurs="0">
      <any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/>
      <element name="XPath" type="string"/>
    </choice>
    <attribute name="Algorithm" type="anyURI" use="required"/>
  </complexType>
  <element name="DigestMethod" type="ds:DigestMethodType"/>
  <complexType mixed="true" name="DigestMethodType">
    <sequence>
      <any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
    </sequence>
    <attribute name="Algorithm" type="anyURI" use="required"/>
  </complexType>
  <element name="DigestValue" type="ds:DigestValueType"/>
  <simpleType name="DigestValueType">
    <restriction base="base64Binary"/>
  </simpleType>
  <element name="KeyInfo" type="ds:KeyInfoType"/>
  <complexType mixed="true" name="KeyInfoType">
    <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 maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/>
    </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 mixed="true" name="KeyValueType">
    <choice>
      <element ref="ds:DSAKeyValue"/>
      <element ref="ds:RSAKeyValue"/>
      <any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/>
    </choice>
  </complexType>
  <element name="RetrievalMethod" type="ds:RetrievalMethodType"/>
  <complexType mixed="false" name="RetrievalMethodType">
    <sequence>
      <element minOccurs="0" ref="ds:Transforms"/>
    </sequence>
    <attribute name="URI" type="anyURI"/>
    <attribute name="Type" type="anyURI" use="optional"/>
  </complexType>
  <element name="X509Data" type="ds:X509DataType"/>
  <complexType mixed="false" 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 maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/>
      </choice>
    </sequence>
  </complexType>
  <complexType mixed="false" name="X509IssuerSerialType">
    <sequence>
      <element name="X509IssuerName" type="string"/>
      <element name="X509SerialNumber" type="integer"/>
    </sequence>
  </complexType>
  <element name="PGPData" type="ds:PGPDataType"/>
  <complexType mixed="false" name="PGPDataType">
    <choice>
      <sequence>
        <element name="PGPKeyID" type="base64Binary"/>
        <element minOccurs="0" name="PGPKeyPacket" type="base64Binary"/>
        <any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
      </sequence>
      <sequence>
        <element name="PGPKeyPacket" type="base64Binary"/>
        <any maxOccurs="unbounded" minOccurs="0" namespace="##other" processContents="lax"/>
      </sequence>
    </choice>
  </complexType>
  <element name="SPKIData" type="ds:SPKIDataType"/>
  <complexType mixed="false" name="SPKIDataType">
    <sequence maxOccurs="unbounded">
      <element name="SPKISexp" type="base64Binary"/>
      <any maxOccurs="1" minOccurs="0" namespace="##other" processContents="lax"/>
    </sequence>
  </complexType>
  <element name="Object" type="ds:ObjectType"/>
  <complexType mixed="true" name="ObjectType">
    <sequence maxOccurs="unbounded" minOccurs="0">
      <any maxOccurs="1" minOccurs="1" 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"/>
  </complexType>
  <element name="Manifest" type="ds:ManifestType"/>
  <complexType mixed="false" name="ManifestType">
    <sequence>
      <element maxOccurs="unbounded" ref="ds:Reference"/>
    </sequence>
    <attribute name="Id" type="ID" use="optional"/>
  </complexType>
  <element name="SignatureProperties" type="ds:SignaturePropertiesType"/>
  <complexType mixed="false" name="SignaturePropertiesType">
    <sequence>
      <element maxOccurs="unbounded" ref="ds:SignatureProperty"/>
    </sequence>
    <attribute name="Id" type="ID" use="optional"/>
  </complexType>
  <element name="SignatureProperty" type="ds:SignaturePropertyType"/>
  <complexType mixed="true" name="SignaturePropertyType">
    <choice maxOccurs="unbounded">
      <any maxOccurs="1" minOccurs="1" namespace="##other" processContents="lax"/>
    </choice>
    <attribute name="Target" type="anyURI" use="required"/>
    <attribute name="Id" type="ID" use="optional"/>
  </complexType>
  <simpleType name="HMACOutputLengthType">
    <restriction base="integer"/>
  </simpleType>
  <element name="DSAKeyValue" type="ds:DSAKeyValueType"/>
  <complexType mixed="false" name="DSAKeyValueType">
    <sequence>
      <sequence minOccurs="0">
        <element name="P" type="ds:CryptoBinary"/>
        <element name="Q" type="ds:CryptoBinary"/>
      </sequence>
      <element minOccurs="0" name="G" type="ds:CryptoBinary"/>
      <element name="Y" type="ds:CryptoBinary"/>
      <element minOccurs="0" name="J" 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 mixed="false" name="RSAKeyValueType">
    <sequence>
      <element name="Modulus" type="ds:CryptoBinary"/>
      <element name="Exponent" type="ds:CryptoBinary"/>
    </sequence>
  </complexType>
</schema>
