<?xml version="1.0" encoding="utf-8" ?>
<?xml-stylesheet type="text/xsl" href="RSS_xslt_style.asp" version="1.0" ?>
<rss version="2.0" xmlns:WebWizForums="http://syndication.webwiz.co.uk/rss_namespace/">
 <channel>
  <title>Debenu Quick PDF Library - PDF SDK Community Forum : SetSignProcessTimestampURL with login and password</title>
  <link>http://www.quickpdf.org/forum/</link>
  <description><![CDATA[This is an XML content feed of; Debenu Quick PDF Library - PDF SDK Community Forum : I need help - I can help : SetSignProcessTimestampURL with login and password]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Thu, 04 Jun 2026 05:45:02 +0000</pubDate>
  <lastBuildDate>Thu, 02 Jul 2020 14:23:42 +0000</lastBuildDate>
  <docs>http://blogs.law.harvard.edu/tech/rss</docs>
  <generator>Web Wiz Forums 11.01</generator>
  <ttl>360</ttl>
  <WebWizForums:feedURL>www.quickpdf.org/forum/RSS_post_feed.asp?TID=3807</WebWizForums:feedURL>
  <image>
   <title><![CDATA[Debenu Quick PDF Library - PDF SDK Community Forum]]></title>
   <url>http://www.quickpdf.org/forum/forum_images/QPDF_Forum_Title.png</url>
   <link>http://www.quickpdf.org/forum/</link>
  </image>
  <item>
   <title><![CDATA[SetSignProcessTimestampURL with login and password : I have also tried to send username...]]></title>
   <link>http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15299.html#15299</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2193">LuProch</a><br /><strong>Subject:</strong> 3807<br /><strong>Posted:</strong> 02 Jul 20 at 2:23PM<br /><br /><div>I have also tried to send username and password with URL like this:</div><div><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> url?username=myName&amp;password=myPassword</td></tr></table></div><div>Tried some variations, didn't work.</div><div><br></div><div>For now I continue testing timestamp with example URL (http://sha256timestamp.ws.symantec.com/sha256/timestamp) and combinations of timestamp with other options:</div><div>- electronic signature with PFX certificate / with USB token<br>- invisible / visible signature<br>- PDF protected by password</div><div><br></div><div>Works mostly fine, but there is one issue. Signature with PFX certificate + timestamp works fine. Signature with USB token + timestamp seems fine, no error code, but when I open the resulting PDF in Adobe Reader, the signature properties say <i>"The signing time comes from the clock on the author's computer."</i> instead of <i>"The signature contains an embedded time stamp."</i>.<br></div>]]>
   </description>
   <pubDate>Thu, 02 Jul 2020 14:23:42 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15299.html#15299</guid>
  </item> 
  <item>
   <title><![CDATA[SetSignProcessTimestampURL with login and password : I found some documentation and...]]></title>
   <link>http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15285.html#15285</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2193">LuProch</a><br /><strong>Subject:</strong> 3807<br /><strong>Posted:</strong> 26 Jun 20 at 9:46AM<br /><br />I found some documentation and it says that the request has to be send to server with POST method. So no changes in URL, I guess.<br>]]>
   </description>
   <pubDate>Fri, 26 Jun 2020 09:46:14 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15285.html#15285</guid>
  </item> 
  <item>
   <title><![CDATA[SetSignProcessTimestampURL with login and password : I suspect that the reason the...]]></title>
   <link>http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15283.html#15283</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=1388">tfrost</a><br /><strong>Subject:</strong> 3807<br /><strong>Posted:</strong> 25 Jun 20 at 3:43PM<br /><br />I suspect that the reason the API does not support login/password is that there are so many reputable timeserver services that do not require authentication.&nbsp; I have tested at least half a dozen such, but this was for executable programs, not large production volume of PDFs. I have also looked at some that have a subscription and so require a login, but usually this could be entered in the URI. Have you enquired of your chosen service whether they can support entering credentials as part of the connection string?]]>
   </description>
   <pubDate>Thu, 25 Jun 2020 15:43:50 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15283.html#15283</guid>
  </item> 
  <item>
   <title><![CDATA[SetSignProcessTimestampURL with login and password : Hello,I have basically the same...]]></title>
   <link>http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15282.html#15282</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=2193">LuProch</a><br /><strong>Subject:</strong> 3807<br /><strong>Posted:</strong> 25 Jun 20 at 3:19PM<br /><br /><div>Hello,</div><div><br></div><div>I have basically the same problem as Rogerio. I am currently testing Quick PDF Library version 17 on Windows to find out whether it can sign a PDF with timestamp, using <b>time stamp authority URL</b>, <b>login</b> and <b>password</b>. The new <i>SetSignProcessTimestampURL</i> function is not documented in the <a href="https://www.debenu.com/docs/pdf_library_reference/SecurityAndSignatures.php" target="_blank" rel="nofollow">Function groups</a>, but I found it in <i>"Foxit Quick PDF Library 17.11 Reference Guide.pdf"</i>, which comes with the installation. There it says:</div><div><br></div><div><table width="99%"><tr><td class="BBquote"><img src="forum_images/quote_box.png" title="Quote" alt="Quote" style="vertical-align: text-bottom;" /> Sets the URL of a timestamp server to use during signing. This will only work when using the default MS Crypto API on Windows. Timestamping is not currently supported when using OpenSSL or on non-Windows platforms.</div><div><br></div><div>Parameters:</div><div>- SignProcessID - A value returned by the NewSignProcessFromFile.</div><div>- TimestampURL - The URL, including protocol identifier, of a timestamp server. For example, "http://sha256timestamp.ws.symantec.com/sha256/timestamp".</div><div>- Options - Reserved for future use, should be set to zero.</td></tr></table></div><div><br></div><div>When I try it with the example <b>URL</b>, it works fine. When I try it with my testing<b>URL</b>, which also requires <b>login</b> and <b>password</b>, then return value is 16 and the signature is broken.</div><div><br></div><div>So is there a way to use it with <b>login</b> and <b>password</b>, maybe in some combination with MS Crypto API? Can anyone provide sample code? Or does Quick PDF Library currently support timestamping with <b>URL</b> only and I have to wait for future versions for a function that accepts <b>URL</b>, <b>login</b> and <b>password</b>?</div><div><br></div><div>Thanks for any response.<br></div><span style="font-size:10px"><br /><br />Edited by LuProch - 25 Jun 20 at 3:23PM</span>]]>
   </description>
   <pubDate>Thu, 25 Jun 2020 15:19:08 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15282.html#15282</guid>
  </item> 
  <item>
   <title><![CDATA[SetSignProcessTimestampURL with login and password : Hello,In version 17, the time...]]></title>
   <link>http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15211.html#15211</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3191">Rogerio</a><br /><strong>Subject:</strong> 3807<br /><strong>Posted:</strong> 22 Apr 20 at 7:48PM<br /><br /><div>Hello,</div><div><br></div><div>In version 17, the time stamp process (windows) was implemented, excellent, as was disclosed:</div><div><i>"On Windows, a new function (SetSignProcessTimestampURL) allows digital signatures to be counter-signed using a timestamp server. This grants the signature validation into the future past the expiry date of the signing identity certificate."</i></div><div><br></div><div>But I have not found a reference on how to use a time stamp server URL with login and password, which normally everyone uses.</div><div><br></div><div>Here is my test code (VB):</div><div><br></div><div><span style=": rgb251, 251, 253;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div>Dim QP As New DebenuPDFLibraryAX1711.PDFLibrary</div><div>Dim iDf12 As Long</div><div>Dim iDf13 As Long</div><div>Dim iDfopt As Long</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; iDf1 = QP.NewSignProcessFromFile ("C:\TEMPS\Temp01\tt\doc2sign.pdf", "")</div><div>&nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; If iDf1 &lt;&gt; 0 Then</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessPFXFromFile iDf1, "C:\Users\roger\Documents\cert_file.pfx", "mypass"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessInfo iDf1, "Good reason", "My location", "My info"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessField iDf1, "Signature_field"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessFieldBounds iDf1, 100, 600, 209, 191</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessFieldImageFromFile iDf1, "C:\TEMPS\Temp01\pdfsigner.png", 0</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessFieldPage iDf1, 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessTimestampURL iDf1, "https://cloud.tsserversample.com.br/time-stamp/tsp", iDfopt</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.EndSignProcessToFile iDf1, "C:\TEMPS\Temp01\tt\file_signed.pdf"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.ReleaseSignProcess iDf1 '// Releases a signature process from memory</div><div><br></div><div>&nbsp; &nbsp; &nbsp; &nbsp; iDf13 = QP.GetSignProcessResult(iDf1)</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; &nbsp; &nbsp; Select Case iDf13</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 1</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "The file was signed successfully"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 2</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Input PDF not found"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 3</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Input PDF cannot be read"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 4</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Input PDF password incorrect"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 5</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "certificate Not file"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 6</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "certificate file Is invalid"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 7</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Incorrect certificate password"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 8</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Unknown certificate format"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 9</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "No private key found in certificate file"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 10</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Could not write output file"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 11</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Could not apply signature"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 12</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "The signature field name was blank"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 13</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "The input file cannot be signed because the 'NeedAppearances' flag is set to true"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 14</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Certificate not found in store"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 15</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "The input file cannot be signed due to an xref table issue"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case 16</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Could not apply timestamp to signature"</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Case Else</div><div>&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; Debug.Print "Unknow:" &amp; iDf13</div><div>&nbsp; &nbsp; &nbsp; &nbsp; End Select</div><div>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>&nbsp; &nbsp; End If</div><div><span style=": rgb251, 251, 253;"></pre></td></tr></table></span>&nbsp; &nbsp; &nbsp; &nbsp;&nbsp;</div><div>--------------------------</div><div>Returns code 16.</div><div><br></div><div>Another test I carried out, on the SetSignProcessTimestampURL line I put the login and password in the URL:</div><div><br></div><div><span style=": rgb251, 251, 253;"><table width="99%"><tr><td><pre class="BBcode"></span></div><div>&nbsp; &nbsp; &nbsp; &nbsp; QP.SetSignProcessTimestampURL iDf1, "https://mylogin:mypassword@cloud.tsserversample.com.br/time-stamp/tsp", iDfopt</div><div><span style=": rgb251, 251, 253;"></pre></td></tr></table></span></div><div>Returns code 16.</div><div><br></div><div>Another test was with the URL that does not require login and password:</div><div>&nbsp;http://sha256timestamp.ws.symantec.com/sha256/timestamp</div><div><br></div><div><b>it worked, but this server does not require login password.</b></div><div><br></div><div>Does anyone know how to use time stamp servers with login and password?</div><div><br></div><div>Thanks.</div>]]>
   </description>
   <pubDate>Wed, 22 Apr 2020 19:48:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/setsignprocesstimestampurl-with-login-and-password_topic3807_post15211.html#15211</guid>
  </item> 
 </channel>
</rss>