This sample shows how to sign an existing PDF document and embed a timestamp into the signature.
When signing a document, Docotic.Pdf library can embed a timestamp into the signature. The library gets timestamp from the Timestamp Authority specified as a signing option. It is also possible to specify username and password for the Timestamp Authority, if needed.
For compatibility reasons, it is recommended to use one of the SHA digest algorithms for timestamped signatures.