Italian XML non conforme al tracciato

Discussion in 'Italian Forum' started by Angelo Messina, Aug 28, 2019.

  1. Angelo Messina

    Angelo Messina Active Member Licensed User

    Salve qualche consiglio in merito !

    tracciato RichiestaCertificatoDispositivo

    Code:
    y = y.create("RichiestaCertificatoDispositivo").attribute("xmlns:ds","http://www.w3.org/2000/09/xmldsig#").attribute("xmlns:p","http://ivaservizi.agenziaentrate.gov.it/docs/xsd/corrispettivi/v1.0").attribute("xmlns:xsi","http://www.w3.org/2001/XMLSchema-instance") _
        .element(
    "Csr").text(CSR).up _
        .element(
    "Dispositivo") _
        .element(
    "Tipo").text("DM").up.up.up _
        .element(
    "TecnicoVerificatore") _
        .element(
    "CodiceFiscale").text(CodiceFiscale).up _
        .element(
    "PIvaSocieta") _
        .element(
    "IdPaese").text("IT").up _
        .element(
    "IdCodice").text(CodiceDitta).up.up.up _
        .element(
    "ds:Signature").attribute("xmlns:ds","http://www.w3.org/2000/09/xmldsig#") _
        .element(
    "ds:SignedInfo") _
        .element(
    "ds:CanonicalizationMethod").attribute("Algorithm","http://www.w3.org/TR/2001/REC-xml-c14n-20010315").up _
        .element(
    "ds:SignatureMethod").attribute("Algorithm","http://www.w3.org/2001/04/xmldsig-more#rsa-sha256").up _
        .element(
    "ds:Reference").attribute("URI","") _
        .element(
    "ds:Transforms") _
        .element(
    "ds:Transform").attribute("Algorithm","http://www.w3.org/2000/09/xmldsig#enveloped-signature").up.up _
        .element(
    "ds:DigestMethod").attribute("Algorithm","http://www.w3.org/2001/04/xmlenc#sha256").up _
        .element(
    "ds:DigestValue").text(DigestValue).up.up.up _
        .element(
    "ds:SignatureValue").text(SignatureValue).up _
        .element(
    "ds:KeyInfo") _
        .element(
    "ds:X509Data") _
        .element(
    "ds:X509Certificate").text(x509).up
     
Loading...
  1. This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
    By continuing to use this site, you are consenting to our use of cookies.
    Dismiss Notice