Java Mailing List Archive

http://www.junlu.com/

Home » Home (12/2007) » iText »

[iText-questions] Is it possible add a external (previous
 calculate) sign to pdf?

Quevedo Fernández, Francisco José

2007-06-18


Hello, I have one XML file (with user info from a web form) and I apply nfop (xsl-fo processor) to transform the xml file to a PDF file. The PDF file is print and manual sign for three different persons.

 

I need to include digital sign into the application. I must utility one applet of my organization. This applet generate digital sign (PCKS#7, XMLSIG, XAdES) from files by uses the certificate’s client.

 

I pass the pdf file into a Base64 and I obtain his digital sign by the applet. This process generate one xml file with the next structure:

 

<?xml version="1.0" encoding="UTF-8"?>

<documentoSGIFE>

<documentoOriginal Id="original" encoding="base64" nombreFichero="prueba.pdf">

<!—PDF IN BASE64à

</documentoOriginal>

<ds:Signature Id="Signature001" xmlns:ds="http://www.w3.org/2000/09/xmldsig”>

<!—DIGITAL SIGN + CERTIFICATE X509 Person Aà

</ds:Signature>

</documentoSGIFE>

 

When this document will be sign by person B, I’ll have the next xml:

 

<?xml version="1.0" encoding="UTF-8"?>

<documentoSGIFE>

<documentoOriginal Id="original" encoding="base64" nombreFichero="prueba.pdf">

<!—PDF IN BASE64à

</documentoOriginal>

<ds:Signature Id="Signature001" xmlns:ds="http://www.w3.org/2000/09/xmldsig”>

<!—DIGITAL SIGN + CERTIFICATE X509 Person Aà

</ds:Signature>

<ds:Signature Id="Signature002 xmlns:ds="http://www.w3.org/2000/09/xmldsig”>

<!—DIGITAL SIGN + CERTIFICATE X509 Person Bà

</ds:Signature>

</documentoSGIFE>

 

 

The question is: ¿Can I add these sign to original PDF for show it to the user C?

 

Thanks and excuse me.

 

-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
iText-questions mailing list
iText-questions@(protected)
https://lists.sourceforge.net/lists/listinfo/itext-questions
Buy the iText book: http://itext.ugent.be/itext-in-action/
©2008 junlu.com - Jax Systems, LLC, U.S.A.