EldoS | Feel safer!

Software components for data protection, secure storage and transfer

Sign PDF using PAdES-T using multiple certificates at once

Posted: 10/31/2013 04:49:19
by Petr Kykal (Standard support level)
Joined: 04/10/2013
Posts: 18


I would like to know if it is possible to sign PDF document by multiple people (multiple certificates) and timestamp it at once?

I am trying to do it using
m_SignCertStorage.Add(m_SignCert, true);
multiple times with different certificates and then I perform sign using the
method, with multiple certificates in the storage.

But the result is, that only the first certificate is used. The timestamp is present as expected.

Please could you provide me with a solution?
Posted: 10/31/2013 04:56:59
by Vsevolod Ievgiienko (Team)

Thank you for contacting us.

Its not possible. You should create each signature separately.
Posted: 10/31/2013 05:46:14
by Ken Ivanov (Team)


No, and it is caused by a limitation of the PDF standard. While the underlying PKCS#7 format allows creation of multi-signer signatures, PDF/PAdES requires that each signature is created strictly by one signer.
Posted: 10/31/2013 06:53:16
by Petr Kykal (Standard support level)
Joined: 04/10/2013
Posts: 18

Thank you for your answers.

If I do it the way, that I Save the document after each signature and timestamp, does this mean, that the next signature invalidates the signature before it or not?

I need for example five valid signatures on a document with a proof of time the document was signed by them (using timestamp). All of the signers will do it right afer each other without any delay or document change.
Posted: 10/31/2013 07:02:03
by Ken Ivanov (Team)


Each signature is added to the document in an incremental way (by appending the necessary changes to the end of the document), so it doesn't invalidate the preceding signatures. At the same time, each subsequent signature, along with the document, covers all the previously made signatures (i.e. the first signature covers the document, the second covers the document and the first signature, the third covers the document and the first two signatures and so on).
Posted: 10/31/2013 07:10:41
by Petr Kykal (Standard support level)
Joined: 04/10/2013
Posts: 18

thank you.



Topic viewed 1441 times

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


Back to top

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

Got it!