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.