Skip to content
Charles-Edouard Coste edited this page Apr 8, 2015 · 2 revisions

Une requête de type INI sert à transmettre la clés publique concernant les signatures.

<?xml version="1.0" encoding="UTF-8"?>
<SignaturePubKeyOrderData xmlns="http://www.ebics.org/S001" xmlns:ds="http://www.w3.org/2000/09/xmldsig#" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.ebics.org/S001 http://www.ebics.org/S001/ebics_signature.xsd">
  <SignaturePubKeyInfo>
    <ds:X509Data>
      <ds:X509IssuerSerial>
        <ds:X509IssuerName>...</ds:X509IssuerName>
        <ds:X509SerialNumber>...</ds:X509SerialNumber>
      </ds:X509IssuerSerial>
      <ds:X509Certificate>...</ds:X509Certificate>
    </ds:X509Data>
    <PubKeyValue>
      <ds:RSAKeyValue>
        <ds:Modulus>...</ds:Modulus>
        <ds:Exponent>...</ds:Exponent>
      </ds:RSAKeyValue>
      <TimeStamp>...</TimeStamp>
    </PubKeyValue>
    <SignatureVersion>A005</SignatureVersion>
  </SignaturePubKeyInfo>
  <PartnerID>...</PartnerID>
  <UserID>...</UserID>
</SignaturePubKeyOrderData>

Ce contenu XML est compressé au format ZIP et encodé en base64 pour être ensuite intégré à un requête ebicsUnsecuredRequest:

<?xml version="1.0"?>
<ebicsUnsecuredRequest xmlns="http://www.ebics.org/H003" Revision="1" Version="H003">
  <header authenticate="true">
    <static>
      <HostID>...</HostID>
      <PartnerID>...</PartnerID>
      <UserID>...</UserID>
      <OrderDetails>
        <OrderType>INI</OrderType>
        <OrderID>...</OrderID>
        <OrderAttribute>DZNNN</OrderAttribute>
      </OrderDetails>
      <SecurityMedium>0000</SecurityMedium>
    </static>
    <mutable/>
  </header>
  <body>
    <DataTransfer>
      <OrderData>eJzNVslyo8oS3fsrHH5LRZtJSOCwdaMYBQgEEkjA5gWCEoOY...</OrderData>
    </DataTransfer>
  </body>
</ebicsUnsecuredRequest>