1 | <!DOCTYPE html> |
---|
2 | <html lang="es"> |
---|
3 | <head> |
---|
4 | <meta charset="UTF-8" /> |
---|
5 | <meta http-equiv="X-UA-Compatible" content="ie=edge" /> |
---|
6 | <title>Firma electrónica</title> |
---|
7 | </head> |
---|
8 | <body> |
---|
9 | |
---|
10 | <h1> Firmando un archivo PDF con PortableSigner </h1> |
---|
11 | <form action="run_script.php" method="POST" enctype="multipart/form-data"> |
---|
12 | <fieldset> |
---|
13 | <legend>PDF</legend> |
---|
14 | <label for="pdf">Seleccione su PDF</label> |
---|
15 | <input id="pdf" type="file" name="pdf" accept=".pdf" required tabindex="1"> |
---|
16 | </fieldset> |
---|
17 | <fieldset> |
---|
18 | <legend>Certificado</legend> |
---|
19 | <label for="pkcs12">Seleccione su certificado PKCS12 (.p12)</label> |
---|
20 | <input id="pkcs12" type="file" name="pkcs12" accept=".p12" required tabindex="2"> |
---|
21 | </fieldset> |
---|
22 | <fieldset> |
---|
23 | <legend>Clave</legend> |
---|
24 | <label for="password">Clave del certificado</label> |
---|
25 | <input id="password" type="password" name="password" required tabindex="3" /> |
---|
26 | </fieldset> |
---|
27 | <p> |
---|
28 | <input name="submit" type="submit" value="Upload Files"> |
---|
29 | </p> |
---|
30 | </form> |
---|
31 | </body> |
---|
32 | </html> |
---|