Screenshot Preview

jPDFSecure

by Qoppa Software - Product Type: Component / Java Class

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

  • Digitally Sign PDF documents
  • Create New Digital Signature Fields
  • Apply Digital Signatures on New or Existing Fields
  • Clear Digital Signatures
  • Encrypt / Decrypt PDF documents
  • Highest Security Level Encyption 128-bit RC4
  • Set / Remove Permissions
  • Permission to Print at High Resolution
  • Permission to Print
  • Permission to Copy or Extract Content
  • Permission to Extract Content in Support of Accessibility for Disabled Users
  • Permission to Modify the document
  • Permission to Add / Modify Annotations
  • Permission to Fill Form Fields and Sign
  • Set / Remove Passwords
  • Password to Open PDF Documents
  • Master Password to Change Permissions
  • Written entirely in Java - allows your application to remain platform independent
  • No need to install or configure additional drivers or software when deploying

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.


Product Search

Enter search words:

Why buy from ComponentSource?

ComponentSource offers a unique global service, used by over 1,000,000 software developers worldwide.

More Info | About Us