Do you own a Debenu Quick PDF Library version 7, 8, 9, 10, 11, 12, 13 or iSEDQuickPDF license? Upgrade to Debenu Quick PDF Library 14 today!
![]() |
SetSignProcessTimestampURL with login and password |
Post Reply ![]() |
Author | ||
Rogerio ![]() Beginner ![]() ![]() Joined: 22 Apr 20 Location: Brazil Status: Offline Points: 2 |
![]() ![]() ![]() ![]() ![]() Posted: 22 Apr 20 at 7:48PM |
|
Hello, In version 17, the time stamp process (windows) was implemented, excellent, as was disclosed: "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." But I have not found a reference on how to use a time stamp server URL with login and password, which normally everyone uses. Here is my test code (VB):
-------------------------- Returns code 16. Another test I carried out, on the SetSignProcessTimestampURL line I put the login and password in the URL:
Returns code 16. Another test was with the URL that does not require login and password: http://sha256timestamp.ws.symantec.com/sha256/timestamp it worked, but this server does not require login password. Does anyone know how to use time stamp servers with login and password? Thanks.
|
||
![]() |
||
LuProch ![]() Beginner ![]() ![]() Joined: 01 Feb 13 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
|
Hello, 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 time stamp authority URL, login and password. The new SetSignProcessTimestampURL function is not documented in the Function groups, but I found it in "Foxit Quick PDF Library 17.11 Reference Guide.pdf", which comes with the installation. There it says:
When I try it with the example URL, it works fine. When I try it with my testing
URL, which also requires login and password, then return value is 16 and the signature is broken. So is there a way to use it with login and password, maybe in some combination with MS Crypto API? Can anyone provide sample code? Or does Quick PDF Library currently support timestamping with URL only and I have to wait for future versions for a function that accepts URL, login and password? Thanks for any response.
Edited by LuProch - 25 Jun 20 at 3:23PM |
||
![]() |
||
tfrost ![]() Senior Member ![]() Joined: 06 Sep 10 Location: UK Status: Offline Points: 437 |
![]() ![]() ![]() ![]() ![]() |
|
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. 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?
|
||
![]() |
||
LuProch ![]() Beginner ![]() ![]() Joined: 01 Feb 13 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
|
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.
|
||
![]() |
||
LuProch ![]() Beginner ![]() ![]() Joined: 01 Feb 13 Status: Offline Points: 14 |
![]() ![]() ![]() ![]() ![]() |
|
I have also tried to send username and password with URL like this:
Tried some variations, didn't work. For now I continue testing timestamp with example URL (http://sha256timestamp.ws.symantec.com/sha256/timestamp) and combinations of timestamp with other options: - electronic signature with PFX certificate / with USB token - invisible / visible signature - PDF protected by password 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 "The signing time comes from the clock on the author's computer." instead of "The signature contains an embedded time stamp.".
|
||
![]() |
Post Reply ![]() |
|
Tweet
|
Forum Jump | Forum Permissions ![]() You cannot post new topics in this forum You cannot reply to topics in this forum You cannot delete your posts in this forum You cannot edit your posts in this forum You cannot create polls in this forum You cannot vote in polls in this forum |
Copyright © 2017 Debenu. Debenu Quick PDF Library is a PDF SDK. All rights reserved. About — Contact — Blog — Support — Online Store