-
Sign PDF Using Preferences
This sample demonstrates how an application can send a PDF file to an ADSS Server and have it signed using the XML signature appearance preferences set within the ADSS Server signing policy. XML preferences enable signatures to be created on multiple pages¸ in custom locations and with custom appearances. In this example all pages are signed. The location of the signature is defined to be slightly left of centre. The ADSS Server signing profile used in the sample is adss:signing:profile:001. See the ADSS Server Admin Guide to find out more about the capabilities of XML preferences and how to configure them. The input and output PDF file path and ADSS Server name are configurable and taken as command line parameters. Java | C#
-
Hash And Assembly Manager
This sample demonstrates how an application can send a PDF to an ADSS Server and have it signed by a generated user key. In this example the ADSS signing profile adss:signing:profile:001 will be used, although in this case the ADSS Server will not sign the PDF, rather it creates an empty signature field and returns a hash of the PDF document. The sample then generates a key-pair and a self signed certificate, signs the hash using this key, generates and sends a PKCS#7 back to ADSS for assembly. The input and output PDF file path and ADSS server name are configurable and taken as command line parameters. Java | C#
-
Create Empty Signature Fields
This sample demonstrates how to get ADSS Server to generate empty signature fields on the top left corner of all the pages of a PDF. It then also demonstrates a request for ADSS Server to sign one of the generated blank signature fields using the ADSS profile adss:signing:profile:003. The signature is a visible signature created on the first page of the PDF at the top left corner position - created using ADSS profile adss:signing:profile:001. Note that the business application can also override the signing profile attributes in the code and set signing reason, signing location etc. The input and output PDF file path and ADSS server name are configurable and taken as command line parameters. Java | C#