<?xml version="1.0" encoding="UTF-8"?><rss version="2.0"
	xmlns:content="http://purl.org/rss/1.0/modules/content/"
	xmlns:dc="http://purl.org/dc/elements/1.1/"
	xmlns:atom="http://www.w3.org/2005/Atom"
	xmlns:sy="http://purl.org/rss/1.0/modules/syndication/"
		>
<channel>
	<title>Comments on: Sign a PDF document</title>
	<atom:link href="http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/feed/" rel="self" type="application/rss+xml" />
	<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/</link>
	<description>A french developper blog</description>
	<lastBuildDate>Mon, 29 Jul 2019 12:19:27 +0000</lastBuildDate>
	<sy:updatePeriod>hourly</sy:updatePeriod>
	<sy:updateFrequency>1</sy:updateFrequency>
	<generator>http://wordpress.org/?v=3.5</generator>
	<item>
		<title>By: Soukaina IDRISSI</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-15820</link>
		<dc:creator>Soukaina IDRISSI</dc:creator>
		<pubDate>Mon, 29 Jul 2019 12:19:27 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-15820</guid>
		<description><![CDATA[Hi rberthou,
Thank you for this post. It&#039;s very interesting.
But in my case, im using USB token, and i sign a document in different way, by calling a &#039;C_SignUpdate&#039; function in PKCS11JS library like this: pkcs11.C_SignUpdate.

So, how can i implement your solution without using .p12 file ?

Thank you in advance for help.]]></description>
		<content:encoded><![CDATA[<p>Hi rberthou,<br />
Thank you for this post. It&#8217;s very interesting.<br />
But in my case, im using USB token, and i sign a document in different way, by calling a &#8216;C_SignUpdate&#8217; function in PKCS11JS library like this: pkcs11.C_SignUpdate.</p>
<p>So, how can i implement your solution without using .p12 file ?</p>
<p>Thank you in advance for help.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naval kumar gupta</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-179</link>
		<dc:creator>naval kumar gupta</dc:creator>
		<pubDate>Thu, 22 Nov 2012 07:44:45 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-179</guid>
		<description><![CDATA[Thanks For this Code, But I have one issue My Pdf have more Than One pages and i want to sign on every pages then how can i modified Your code i have tried from lot of changes but not successful please reply me.]]></description>
		<content:encoded><![CDATA[<p>Thanks For this Code, But I have one issue My Pdf have more Than One pages and i want to sign on every pages then how can i modified Your code i have tried from lot of changes but not successful please reply me.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: naval</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-178</link>
		<dc:creator>naval</dc:creator>
		<pubDate>Wed, 17 Oct 2012 07:28:09 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-178</guid>
		<description><![CDATA[Its very Good code in the 2 min i have implemented but i m getting problem is . it showing signature but showing Message with &quot;Validity Unknow&quot; But i want to Show IBM]]></description>
		<content:encoded><![CDATA[<p>Its very Good code in the 2 min i have implemented but i m getting problem is . it showing signature but showing Message with &#8220;Validity Unknow&#8221; But i want to Show IBM</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lamia</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-162</link>
		<dc:creator>lamia</dc:creator>
		<pubDate>Tue, 22 May 2012 10:50:03 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-162</guid>
		<description><![CDATA[HI
no problem my program work successfully , cause i find (bctsp.jar) how cause me pb 
so thanks again,]]></description>
		<content:encoded><![CDATA[<p>HI<br />
no problem my program work successfully , cause i find (bctsp.jar) how cause me pb<br />
so thanks again,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lamia</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-161</link>
		<dc:creator>lamia</dc:creator>
		<pubDate>Sun, 20 May 2012 09:33:19 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-161</guid>
		<description><![CDATA[hi
thanks about this a very good explanation ,but i have a problem , when i excecute my program a big exception occur and my pdfs file is impty or clearly the acrobat reader can&#039;t read it (error of decrypt...), my exception is 
----------------------------------------------------------------------&gt;
&quot; Exception in thread &quot;main&quot; java.lang.NoClassDefFoundError: org/bouncycastle/tsp/TimeStampTokenInfo
	at com.itextpdf.text.pdf.PdfSignatureAppearance.getAppearance(PdfSignatureAppearance.java:409)
	at com.itextpdf.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:951)
	at com.itextpdf.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:897)
	at com.itextpdf.text.pdf.PdfStamper.close(PdfStamper.java:194)
	at test4.test4.test4(test4.java:130)
	at test4.test4.main(test4.java:30)
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.tsp.TimeStampTokenInfo
	at java.net.URLClassLoader$1.run(Unknown Source)
	at java.security.AccessController.doPrivileged(Native Method)
	at java.net.URLClassLoader.findClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)
	at java.lang.ClassLoader.loadClass(Unknown Source)
	... 6 more
&quot;

please help me ,it&#039;s so impotent 


thanks  ,]]></description>
		<content:encoded><![CDATA[<p>hi<br />
thanks about this a very good explanation ,but i have a problem , when i excecute my program a big exception occur and my pdfs file is impty or clearly the acrobat reader can&#8217;t read it (error of decrypt&#8230;), my exception is<br />
&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;&#8212;-&gt;<br />
&#8221; Exception in thread &#8220;main&#8221; java.lang.NoClassDefFoundError: org/bouncycastle/tsp/TimeStampTokenInfo<br />
	at com.itextpdf.text.pdf.PdfSignatureAppearance.getAppearance(PdfSignatureAppearance.java:409)<br />
	at com.itextpdf.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:951)<br />
	at com.itextpdf.text.pdf.PdfSignatureAppearance.preClose(PdfSignatureAppearance.java:897)<br />
	at com.itextpdf.text.pdf.PdfStamper.close(PdfStamper.java:194)<br />
	at test4.test4.test4(test4.java:130)<br />
	at test4.test4.main(test4.java:30)<br />
Caused by: java.lang.ClassNotFoundException: org.bouncycastle.tsp.TimeStampTokenInfo<br />
	at java.net.URLClassLoader$1.run(Unknown Source)<br />
	at java.security.AccessController.doPrivileged(Native Method)<br />
	at java.net.URLClassLoader.findClass(Unknown Source)<br />
	at java.lang.ClassLoader.loadClass(Unknown Source)<br />
	at sun.misc.Launcher$AppClassLoader.loadClass(Unknown Source)<br />
	at java.lang.ClassLoader.loadClass(Unknown Source)<br />
	&#8230; 6 more<br />
&#8221;</p>
<p>please help me ,it&#8217;s so impotent </p>
<p>thanks  ,</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: lamia</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-160</link>
		<dc:creator>lamia</dc:creator>
		<pubDate>Sun, 20 May 2012 09:28:54 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-160</guid>
		<description><![CDATA[hi
thanks about this a very good explanation ,but i have a problem , when i excecute my program a big exception ocure and my pdfs file is impty or clearly the acrobat reader can&#039;t read it (error of decrypt...)]]></description>
		<content:encoded><![CDATA[<p>hi<br />
thanks about this a very good explanation ,but i have a problem , when i excecute my program a big exception ocure and my pdfs file is impty or clearly the acrobat reader can&#8217;t read it (error of decrypt&#8230;)</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: John Ross</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-69</link>
		<dc:creator>John Ross</dc:creator>
		<pubDate>Wed, 09 Dec 2009 20:32:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-69</guid>
		<description><![CDATA[We had a similar project requiring us to sign PDF documents and print them. We tried Itext and were able to use the sample above . But unfortunately, it didn&#039;t work for all PDF documents and didn&#039;t support multiple signatures. We were sometime getting invalid signatures when opening the documents in different versions of Adobe Acrobat. So at the end we decided to purchase a commercial library (j100% java) called jPDFProcess. The same company also offers jPDFSecure, a cheaper library to secure and sign PDF documents. But because we needed to print the documents after signing, we ended up getting jPDFProcess.]]></description>
		<content:encoded><![CDATA[<p>We had a similar project requiring us to sign PDF documents and print them. We tried Itext and were able to use the sample above . But unfortunately, it didn&#8217;t work for all PDF documents and didn&#8217;t support multiple signatures. We were sometime getting invalid signatures when opening the documents in different versions of Adobe Acrobat. So at the end we decided to purchase a commercial library (j100% java) called jPDFProcess. The same company also offers jPDFSecure, a cheaper library to secure and sign PDF documents. But because we needed to print the documents after signing, we ended up getting jPDFProcess.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rberthou</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-66</link>
		<dc:creator>rberthou</dc:creator>
		<pubDate>Wed, 07 Oct 2009 18:36:01 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-66</guid>
		<description><![CDATA[Bruskvilla :
You can create a &quot;self signed&quot; certificate (for tests or internal use) 
http://www.flatmtn.com/article/creating-pkcs12-certificates

or you buy a personal certificate (http://www.verisign.com)
and other site.]]></description>
		<content:encoded><![CDATA[<p>Bruskvilla :<br />
You can create a &#8220;self signed&#8221; certificate (for tests or internal use)<br />
<a href="http://www.flatmtn.com/article/creating-pkcs12-certificates" rel="nofollow">http://www.flatmtn.com/article/creating-pkcs12-certificates</a></p>
<p>or you buy a personal certificate (<a href="http://www.verisign.com" rel="nofollow">http://www.verisign.com</a>)<br />
and other site.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: bruskvilla</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-65</link>
		<dc:creator>bruskvilla</dc:creator>
		<pubDate>Tue, 06 Oct 2009 12:17:26 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-65</guid>
		<description><![CDATA[Hello that&#039;s so useful thank you very much, I&#039;m new about that topic,where i can find the &#039;fileKey&#039; which was given with .p12 extension? Can anybody explain the code what it&#039;s doing please? thanks again.]]></description>
		<content:encoded><![CDATA[<p>Hello that&#8217;s so useful thank you very much, I&#8217;m new about that topic,where i can find the &#8216;fileKey&#8217; which was given with .p12 extension? Can anybody explain the code what it&#8217;s doing please? thanks again.</p>
]]></content:encoded>
	</item>
	<item>
		<title>By: rberthou</title>
		<link>http://www.berthou.com/us/2007/11/28/sign-a-pdf-document/comment-page-1/#comment-61</link>
		<dc:creator>rberthou</dc:creator>
		<pubDate>Thu, 24 Sep 2009 20:51:30 +0000</pubDate>
		<guid isPermaLink="false">http://www.berthou.com/us/?p=18#comment-61</guid>
		<description><![CDATA[Yes of course, with a little modification of this sample code]]></description>
		<content:encoded><![CDATA[<p>Yes of course, with a little modification of this sample code</p>
]]></content:encoded>
	</item>
</channel>
</rss>
