Correct. -----Original Message----- From: Tamas [mailto:info...@gmail.com] Sent: Tuesday, October 06, 2009 4:49 AM To: itext-questions@lists.sourceforge.net Subject: Re: [iText-questions] What Part of the PDF document is signed by PdfStamper
Thank you Leonard! You mean that all of the previous signatures are signed with the last one? Bests Tamas Leonard Rosenthol-3 wrote: > > ALL of the PDF, except the signature itself, is signed. > > Leonard > > > On 10/5/09 4:59 AM, "Tamas" <info...@gmail.com> wrote: > >> >> Dear IText Experts, >> >> What part of the pdf document is signned when I use the >> PdfStamper.CreateSignature and the PdfSignatureAppearance.SetCrypto >> method? >> >> My code is the folowing: >> PdfStamper st = PdfStamper.CreateSignature(reader, new >> FileStream(this.outputPDF, FileMode.Create, FileAccess.Write), '\0', >> null, >> true); >> st.MoreInfo = this.metadata.getMetaData(); >> st.XmpMetadata = this.metadata.getStreamedMetaData(); >> PdfSignatureAppearance sap = st.SignatureAppearance; >> >> sap.SetCrypto(this.myCert.Akp, this.myCert.Chain, null, >> PdfSignatureAppearance.WINCER_SIGNED); >> ... >> st.Close(); >> >> After I signed an existing pdf document I modified some of the bytes >> randomly and several times the adobe reader 9 informed me about that all >> of >> the signatures are valid. How did it happend? I looked over the pdf 1.4 >> documentation and I found that the whole pdf and only a part of the pdf >> can >> be signed as well. When I use the PdfStamper.CreateSignature which part >> of >> the pdf doc will be signed? >> >> Thanks >> >> Tamas > > -- > Leonard Rosenthol > PDF Standards Architect > Adobe Systems > > > > ------------------------------------------------------------------------------ > Come build with us! The BlackBerry® Developer Conference in SF, CA > is the only developer event you need to attend this year. Jumpstart your > developing skills, take BlackBerry mobile applications to market and stay > ahead of the curve. Join us from November 9-12, 2009. Register > now! > http://p.sf.net/sfu/devconf > _______________________________________________ > iText-questions mailing list > iText-questions@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/itext-questions > > Buy the iText book: http://www.1t3xt.com/docs/book.php > Check the site with examples before you ask questions: > http://www.1t3xt.info/examples/ > You can also search the keywords list: > http://1t3xt.info/tutorials/keywords/ > > -- View this message in context: http://www.nabble.com/What-Part-of-the-PDF-document-is-signed-by-PdfStamper-tp25749465p25767244.html Sent from the iText - General mailing list archive at Nabble.com. ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/ ------------------------------------------------------------------------------ Come build with us! The BlackBerry® Developer Conference in SF, CA is the only developer event you need to attend this year. Jumpstart your developing skills, take BlackBerry mobile applications to market and stay ahead of the curve. Join us from November 9-12, 2009. Register now! http://p.sf.net/sfu/devconf _______________________________________________ iText-questions mailing list iText-questions@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/itext-questions Buy the iText book: http://www.1t3xt.com/docs/book.php Check the site with examples before you ask questions: http://www.1t3xt.info/examples/ You can also search the keywords list: http://1t3xt.info/tutorials/keywords/