How do I create and sign a digital signature with LTV?

Question:
I want to be able to add a Digital Signature to a PDF and sign it using Time Stamp, using a Time Stamp Authority (TSA) server, and enable Long Term Validation (LTV).

How can I do that?

Answer:
The attached C# code shows how to accomplish this.

DigitalSignaturesTest.cs.txt (5.6 KB)

1 Like

Another user asked the same, but to add an Author/Certification signature, not just an Approval signature.

Attached is C# code that will do this, in the end just three lines of code different from above signing sample code.

DigitalSignaturesTest.cs.txt (5.4 KB)

1 Like

For verification options, make sure you root certs of both the TSA server as well as the Signature.

1 Like