by Qoppa Software - Product Type: Component / Java Class
You can find current information from the links below
in PDF
If you need to buy a license for this specific version, please contact us for availability and pricing.
Other information on this page is shown for historical reference only and may have changed considerably since.
A Java library to sign and encrypt PDF documents. jPDFSecure is a Java library that can digitally sign PDF documents and change security settings on PDF Documents. With jPDFSecure, your application or java applet can encrypt and decrypt PDF documents, set permissions and passwords, create and apply digital signatures. jPDFSecure is optimized for performance and is built on top of Qoppa's proprietary PDF technology so there is no need for any third party software or drivers. jPDFSecure has a simple interface to load PDF documents from files, network drives, URLs and even input streams, which can be generated at runtime or come directly from a database. After changing security settings, jPDFSecurity can save the document to a file, output stream or browser. jPDFSecure is platform independent and can be used in any environment that supports Java, including Windows, Mac OSX and Linux.
jPDFSecure Main Features
jPDFSecure - Getting Started
The starting point for using jPDFSecure is the com.qoppa.pdfSecure.PDFSecure. This class is used to load a PDF document and to update security settings of the PDF document. The class provides three constructors to load PDF files from the file system, a URL or an InputStream. All constructors take an additional parameter, an object that implements IPasswordHandler, that will be queried if the PDF file requires a password to open (called Open or User password). For PDF files that are not currently encrypted, this second parameter can be null.
jPDFSecure - Digitally Signing a PDF document
There are 3 steps to add a new digital signature to a PDF document with jPDFSecure: create a new digital signature field, load digital id from a keystore to create a SignatureInformation object and apply the signature.
jPDFSecure - Getting Current Password / Encryption Info
Once a PDFSecure object has been created, the host application can call simple method to get current security settings of the loaded PDF document.
jPDFSecure - Getting Current Permissions
PDFSecure.getPermissions will return a permission object. From this object, it is easy to get all the distinct permissions.
jPDFSecure - Clearing Security (Passwords, Encryption & Permissions
Calling PDFSecure.clearSecurity will clear all security for this document: it will clear open/user password, owner/permissions password, encryption. This means that all permissions will be reset to true. If the PDF document has a permissions password, it will have to be passed on as a parameter (currentPermissionsPwd below), else it can be left null.
jPDFSecure - Getting Basic Information about the PDF Document (Title, Author, etc...)
To get basic information about the loaded PDF document, you need to get the DocumentInfo class accessible through PDFSecure.getDocumentInfo. From this class, you can get information about the document such as title, author, subject, keywords, etc.
jPDFSecure - Distribution and JAR Files
jPDFSecure is packaged in a single jar file, jPDFSecure.jar that gets installed with the evaluation sample. When distributing an application that contains jPDFSecure, the jPDFSecure.jar file needs to be distributed along with it and needs to be included in the class path when running the application.
ComponentSource offers a unique global service, used by over 1,000,000 software developers worldwide.