<?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 : Signature Error</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 : Signature Error]]></description>
  <copyright>Copyright (c) 2006-2013 Web Wiz Forums - All Rights Reserved.</copyright>
  <pubDate>Tue, 14 Jul 2026 13:02:57 +0000</pubDate>
  <lastBuildDate>Sat, 04 Dec 2021 00:01:13 +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=3958</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[Signature Error : Hi Ingo, thank you for your response.Yes,...]]></title>
   <link>http://www.quickpdf.org/forum/signature-error_topic3958_post15949.html#15949</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3304">TBrady12</a><br /><strong>Subject:</strong> 3958<br /><strong>Posted:</strong> 04 Dec 21 at 12:01AM<br /><br /><br>Hi Ingo, thank you for your response.<br><br>Yes, it worked on one Win-10 System, but not on the other Win-10 System.<br>&nbsp;<br>PFX data is in PKCS12 format.<br>DPLSetSignProcessSubFilter only supports pkcs7 subfilter.<br><br>Here is the code we use.<br><br>// This function is a substitution of DPLSignFile function, as it lacks the ability to specify the hashing algorithm,<br>// DPLSetSignProcessSubFilter is doing the job in this function.<br><br>&nbsp;&nbsp; int procID = DPLNewSignProcessFromFile(instanceID, inputFileName, openPassword);<br><br>&nbsp;&nbsp; int rc = DPLSetSignProcessField(instanceID, procID, signatureFieldName);<br>&nbsp;&nbsp; if (rc != DPL_SUCCESS) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return rc;<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp; rc = DPLSetSignProcessInfo(instanceID, procID, reason, location , contactInfo);<br>&nbsp;&nbsp; if (rc != DPL_SUCCESS) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return rc;<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp; rc = DPLSetSignProcessSubFilter(instanceID, procID, 5 /*adbe_pkcs7_detached_with_sha512*/);<br>&nbsp;&nbsp; if (rc != DPL_SUCCESS) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return rc;<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp; rc = DPLSetSignProcessPFXFromString(instanceID, procID, pfxBuffer, pfxPassword);<br>&nbsp;&nbsp; if (rc != DPL_SUCCESS) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return rc;<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp; DPLEndSignProcessToFile(instanceID, procID, outputFileName);<br>&nbsp;&nbsp; rc = DPLGetSignProcessResult(instanceID, procID);<br>&nbsp;&nbsp; if (rc != DPL_SUCCESS) {<br>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; return rc;<br>&nbsp;&nbsp; }<br>&nbsp;&nbsp; return rc;<br><br>]]>
   </description>
   <pubDate>Sat, 04 Dec 2021 00:01:13 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/signature-error_topic3958_post15949.html#15949</guid>
  </item> 
  <item>
   <title><![CDATA[Signature Error : Hi Tony,only on one win10-system...]]></title>
   <link>http://www.quickpdf.org/forum/signature-error_topic3958_post15942.html#15942</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=111">Ingo</a><br /><strong>Subject:</strong> 3958<br /><strong>Posted:</strong> 01 Dec 21 at 8:08PM<br /><br />Hi Tony,<br><br>only on <b>one</b> win10-system and on other win10-systems it works?<br>Can we take a look into the relevant code part you're using?<br>Here you can look into a sample about how to do it:<br>https://www.debenu.com/kb/advanced-options-signing-pdf-files/<br><br>Here's the description of the function and there you can read that <b>pkcs12 is necessary</b> - you wanna try it with pkcs7:<br>https://www.debenu.com/docs/pdf_library_reference/SignFile.php<br><br>Cheers and welcome here,<br>Ingo<br><br><br>]]>
   </description>
   <pubDate>Wed, 01 Dec 2021 20:08:24 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/signature-error_topic3958_post15942.html#15942</guid>
  </item> 
  <item>
   <title><![CDATA[Signature Error :  I useDPLNewSignProcessFromFile and...]]></title>
   <link>http://www.quickpdf.org/forum/signature-error_topic3958_post15939.html#15939</link>
   <description>
    <![CDATA[<strong>Author:</strong> <a href="http://www.quickpdf.org/forum/member_profile.asp?PF=3304">TBrady12</a><br /><strong>Subject:</strong> 3958<br /><strong>Posted:</strong> 30 Nov 21 at 1:51AM<br /><br /><span style="font-size:11.0pt;font-family:&quot;Calibri&quot;,sans-serif;  mso-fareast-font-family:&quot;Yu Gothic&quot;;mso-fareast-theme-font:minor-fareast;  mso-ansi-:EN-US;mso-fareast-:JA;mso-bidi-:AR-SA">Iuse&nbsp;</span><span style="font-size:9.0pt;font-family:C&#111;nsolas;mso-fareast-font-family:  &quot;Yu Gothic&quot;;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:Calibri;  mso-ansi-:EN-US;mso-fareast-:JA;mso-bidi-:AR-SA">DPLNewSignProcessFromFileand other functions rather than DPLSignFile,<br>and those functions work fine, but it worked weird with one Windows10 environment.<br>The resulting PDF file contains only '0' as signature, yet still no error <br>from DPL functions with this case.<br>Acrobat Reader says, of course, that the signature is invalid.</span><br><span style="font-size:9.0pt;font-family:C&#111;nsolas;mso-fareast-font-family:  &quot;Yu Gothic&quot;;mso-fareast-theme-font:minor-fareast;mso-bidi-font-family:Calibri;  mso-ansi-:EN-US;mso-fareast-:JA;mso-bidi-:AR-SA">Does anybody know what's going on or see similar result? Any advice?<br style="mso-special-character:line-break"><br><br>/Filter /Adobe.PPKLite<br>/SubFilter /adbe.pkcs7.detached<br>/Contents &lt;0000000000000000000000000000000000000000 ....<br>/ByteRange &#091; 0 13275227 13275741 704 <br>&#093;<br>/M (D:20211118154446-05'00')<br></span>]]>
   </description>
   <pubDate>Tue, 30 Nov 2021 01:51:27 +0000</pubDate>
   <guid isPermaLink="true">http://www.quickpdf.org/forum/signature-error_topic3958_post15939.html#15939</guid>
  </item> 
 </channel>
</rss>