Re: [SPAM] Re: Encrypting signed pdf file
Paulo Melo <[email protected]>
| Newsgroups | gmane.comp.java.lib.itext.general |
|---|---|
| Message-ID | <CAPbpe=XC3DO8P2Cw89FTHcn0YqxTA8B6U-CFFEDgzaHhW7QgEA@mail.gmail.com> |
Hi, I have a problem that can maybe relate to this one. I'm signing the file client-side and after I'm uploading it to S3, but when I download the file the signature becomes invalid. I was wondering if the HTTPS transport in between the client and the S3 end-point might be corrupting the signature. Thanks 2014-08-27 10:32 GMT-03:00 mkl <[email protected]>: > Metho, > > metho wrote > > Currently we store signed pdf in our database and need to sent encrypted > > version over the net, but encrypting it using PDFReader and PdfStamper > > seems to break certificates existing(adobe reader says they are not > > valid). > > Is there some workaround for that? > > You automatically break existing signatures whenever you encrypt a > document. > Signatures sign byte ranges in the file, and these file ranges are > relocated > and also otherwise changed upon encryption. > > > I also tried to sign those pdfs again during encryption but i end with > pdf > > with 2 certificates. The new one which is valid and old one which is > > broken(maybe there is some way to delete this one?) > > You can delete the original one completely or you can reuse its visual > representation for a new one. > > Regards, Mikel > > > > -- > View this message in context: > http://itext-general.2136553.n4.nabble.com/Encrypting-signed-pdf-file-tp4660281p4660285.html > Sent from the iText - General mailing list archive at Nabble.com. > > > ------------------------------------------------------------------------------ > Slashdot TV. > Video for Nerds. Stuff that matters. > http://tv.slashdot.org/ > _______________________________________________ > iText-questions mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/itext-questions > > iText(R) is a registered trademark of 1T3XT BVBA. > Many questions posted to this list can (and will) be answered with a > reference to the iText book: http://www.itextpdf.com/book/ > Please check the keywords list before you ask for examples: > http://itextpdf.com/themes/keywords.php > -- Paulo Melo Equipe Clip ------------------------------------------------------------------------------ Slashdot TV. Video for Nerds. Stuff that matters. http://tv.slashdot.org/ _______________________________________________ iText-questions mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/itext-questions iText(R) is a registered trademark of 1T3XT BVBA. Many questions posted to this list can (and will) be answered with a reference to the iText book: http://www.itextpdf.com/book/ Please check the keywords list before you ask for examples: http://itextpdf.com/themes/keywords.php