Q: How can I add a digital signature to a document using Qoppa’s java library jPDFSecure? A: This Java program loads a document, then loads a digital ID from a PKCS#12 file, and then creates and signs a signature field on the first page of the document. // Load the document PDFSecure pdfDoc = new […]
Category: jPDFSecure: Secure / Sign PDFs
Developer library to secure PDF documents with passwords and permissions as well as digitally sign PDF documents in Java.
Certify PDF document / Add a certifying signature
Q: Is it possible to certify a PDF document with Qoppa’s libraries and componentsA: As of version 2013R2, it is possible to add a certifying signature using our libraries jPDFProcess, jPDFSecure, jPDFNotes and jPDFEditor. What is a certifying signature? A certifying signature is a digital signature. A certifying signature has to be the first applied […]
Apply Digital Signature on a PDF document using USB hardware token PKCS 11
Q: Can jPDFSecure apply digital signatures using a hardware token? A: Yes, our 2 java PDF libraries jPDFSecure and jPDFProcess can apply a digital signature to PDF documents using a hardware token through PKCS#11. Sample Code // Load token configuration file and register provider String configName = "pkcs11.cfg"; Provider p = new sun.security.pkcs11.SunPKCS11(configName); Security.addProvider(p); // Create key store […]
Apply / Verify PDF Digital Signature with Server Timestamp
What are Timestamped Digital Signatures? When creating a digital signature, it is possible to simply use the computer’s date and time. But this may not be valid in a lot of legal environments. Time-stamp servers, also called Time Stamp Authorities (TSA), can provide a legal timestamp and there is a protocol to access the servers […]