Print Page | Close Window

Wrong Sign Process Result

Printed From: Debenu Quick PDF Library - PDF SDK Community Forum
Category: For Users of the Library
Forum Name: General Discussion
Forum Description: Discussion board for Debenu Quick PDF Library and Debenu PDF Viewer SDK
URL: http://www.quickpdf.org/forum/forum_posts.asp?TID=3954
Printed Date: 22 Nov 24 at 1:23PM
Software Version: Web Wiz Forums 11.01 - http://www.webwizforums.com


Topic: Wrong Sign Process Result
Posted By: mimkawee
Subject: Wrong Sign Process Result
Date Posted: 05 Oct 21 at 6:08PM
Hello, 

We have implemented PDF Signing using functions - NewSignProcessFromFile() and EndSignProcessToFile() and we get the result of the signing with GetSignProcessResult(). 

The problem we ran into is this: 
A user is trying to sing a PDF File. 
The certificate he chooses ha s a password so Windows shows a dialog to enter the password. 
If the user at this time chooses to not enter the password, he click on [X] or Cancel - The password dialog shows again. The user cancels again. 
After the second cancel the function EndSignProcessToFile() returns but the output file has a new signature (invalid signature) and the function GetSignProcessResult() returns 1 (succesfull signing). Here is the problem. 

Is there a bug in the GetSignProcessResult()? 
And is there a way to find out if the user entered his password or not? 



Print Page | Close Window

Forum Software by Web Wiz Forums® version 11.01 - http://www.webwizforums.com
Copyright ©2001-2014 Web Wiz Ltd. - http://www.webwiz.co.uk