sviluppo:firma_grafometrica
Differenze
Queste sono le differenze tra la revisione selezionata e la versione attuale della pagina.
| Entrambe le parti precedenti la revisioneRevisione precedenteProssima revisione | Revisione precedente | ||
| sviluppo:firma_grafometrica [2017/05/17 14:54] – m.biagioli | sviluppo:firma_grafometrica [2024/10/15 09:45] (versione attuale) – modifica esterna 127.0.0.1 | ||
|---|---|---|---|
| Linea 17: | Linea 17: | ||
| * FGRAFOM_MAKE_PDF_ORIGINAL: | * FGRAFOM_MAKE_PDF_ORIGINAL: | ||
| * FGRAFOM_SAVE_IN_SAME_FOLDER: | * FGRAFOM_SAVE_IN_SAME_FOLDER: | ||
| - | * Specify to save the signed file in same folder of the original file: use this option if you want to overwrite the original file with signed file | + | * FGRAFOM_FORCE_OVERWRITE: |
| + | |||
| + | ======Utilizzo====== | ||
| + | |||
| + | =====Firma===== | ||
| + | |||
| + | < | ||
| + | $path = " | ||
| + | $device = " | ||
| + | $certificate = "Firma GrafoCerta (FEA) Demo_TRUST"; | ||
| + | $objFirma = itaFirmaGrafometrica:: | ||
| + | $objFirma-> | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | )); | ||
| + | if ($objFirma-> | ||
| + | Out:: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Occorre passare al metodo i seguenti parametri: | ||
| + | * Il path del documento da firmare | ||
| + | * Il dispositivo (alias) utilizzato per la firma | ||
| + | * Il certificato (alias) utilizzato per la firma | ||
| + | * Un array dove specificare l' | ||
| + | |||
| + | Nell' | ||
| + | * Il path del documento firmato | ||
| + | * Esito (True/ | ||
| + | * Messaggio di errore (se esito=False) | ||
| + | |||
| + | =====Verifica===== | ||
| + | |||
| + | < | ||
| + | $path = " | ||
| + | $objFirma = itaFirmaGrafometrica:: | ||
| + | $objFirma-> | ||
| + | ' | ||
| + | ' | ||
| + | ' | ||
| + | )); | ||
| + | if ($objFirma-> | ||
| + | Out:: | ||
| + | } | ||
| + | </ | ||
| + | |||
| + | Occorre passare al metodo i seguenti parametri: | ||
| + | * Il path del documento da verificare | ||
| + | * Un array dove specificare l' | ||
| + | |||
| + | Nell' | ||
sviluppo/firma_grafometrica.1495032885.txt.gz · Ultima modifica: (modifica esterna)
