Hello All,

I'm using PDFStamper for form filling but facing problem. Existing PDF
signatures become corrupted after saving the PDF document.

But PDF signature becomes invalid in 'destination.pdf'.
Can anyone through light on it that why it corrupts the signature and how to
resolve it?

I'm using the following code:
//------------------------------------------------------------
  public void save(String strSrcPDF, String strDestPDF) throws Exception {
    PdfReader obj_pdfReader = new PdfReader(strSrcPDF);
    FileOutputStream obj_fos = new FileOutputStream(strDestPDF);
    PdfStamper obj_pdfStamper = new PdfStamper(obj_pdfReader, obj_fos);
    AcroFields obj_acroFieldsStamper = obj_pdfStamper.getAcroFields();
.....
.....
.....
    obj_pdfStamper.close();
    obj_fos.close();
  }
//------------------------------------------------------------

Regards,
Faisal






-------------------------------------------------------
This SF.Net email is sponsored by: NEC IT Guy Games.  How far can you shotput
a projector? How fast can you ride your desk chair down the office luge track?
If you want to score the big prize, get to know the little guy.  
Play to win an NEC 61" plasma display: http://www.necitguy.com/?r=20
_______________________________________________
iText-questions mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/itext-questions

Reply via email to