EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Timestamping PDF

Also by EldoS: CallbackProcess
A component to control process creation and termination in Windows and .NET applications.
#14062
Posted: 08/02/2010 03:14:28
by Julio Loizaga (Basic support level)
Joined: 08/02/2010
Posts: 2

Hi. I'm trying to sign and timestamping a PDF file using the C# example "TinySigner". For testing purpouses, I'm timestamping PDF with Acrobat 8, using the free TSA located at http://www.ca-soft.com/request.aspx, and it works fine, but when I use your test program, I get the error 83973. What I'm doing wrong?.

Thanks.
#14065
Posted: 08/02/2010 04:05:26
by Dmytro Bogatskyy (EldoS Corp.)

It is SB_TSP_ERROR_WRONG_DATA error (see: http://www.eldos.com/documentation/sb...codes.html )
In your case a TSA server on a query returns response with a content type equal to "application/timestamp-query" that invalid, should be either "application/timestamp-reply" or "application/timestamp-response"
#14066
Posted: 08/02/2010 04:05:54
by Ken Ivanov (EldoS Corp.)

Thank you for contacting us.

It appears that the TSA returns the timestamping response with a wrong content type. As PDFBlackbox performs strict content type checking (probably, Acrobat doesn't), the "wrong data" (0x14805) error is returned.

We will add a workaround to our implementation to make it ignore such "bad" content type. The workaround will be available in the future build update.
#14089
Posted: 08/03/2010 06:16:36
by Julio Loizaga (Basic support level)
Joined: 08/02/2010
Posts: 2

Thank you. I'm still trying the tinySigner PDF example. If the TSA has a HTTPS URL, and give me a client certificate..., is there something special I have to do in order to timeStamp the PDF?. If so, remember that I'm testing TinySigner PDF example, please, tell me modifications needed to work properly...

Best regards...
#14096
Posted: 08/03/2010 12:02:16
by Ken Ivanov (EldoS Corp.)

There are many ways of validating server certificates; some of them are given in the SSL-related how-to articles. The easiest way would be to use TElX509CertificateValidator class, whose usage is illustrated in HTTPS and FTPS samples.
#14612
Posted: 09/29/2010 07:23:09
by Secure Soft (Basic support level)
Joined: 09/29/2010
Posts: 1

Quote
Dmytro Bogatskyy wrote:
It is SB_TSP_ERROR_WRONG_DATA error (see: http://www.eldos.com/documentation/sbb/documentation/ref_err_tsperrorcodes.html )
In your case a TSA server on a query returns response with a content type equal to "application/timestamp-query" that invalid, should be either "application/timestamp-reply" or "application/timestamp-response"


The problem was solved. Now http://www.ca-soft.com/request.aspx and http://ca.signfiles.com/TSAServer.aspx use "application/timestamp-reply" content type.

We would like to thank to Carstensen and EldoS team for this.
Also by EldoS: CallbackDisk
Create virtual disks backed by memory or custom location, expose disk images as disks and more.

Reply

Statistics

Topic viewed 2447 times

Number of guests: 1, registered members: 0, in total hidden: 0




|

Back to top

As of July 15, 2016 EldoS Corporation will operate as a division of /n software inc. For more information, please read the announcement.

Got it!