Home Contact Us

Java PDF Libraries

jPDFFields
jPDFImages
jPDFNotes
jPDFPrint
jPDFProcess
jPDFSecure
jPDFText
jPDFViewer
jPDFWriter

 

PDF Automation Server

 

PDF Studio

 

PDF Products Comparison Grid

 
 
Signing Your Applet

When running as an applet, Java is restricted by what it can do. For instance, it can not open files on your local machine or send content to the printer.

To get around this, you can 'sign' your applet and request for more permissions. When an applet is loaded that is signed, you will see a dialog box show up asking for permission when the applet starts running (you should see this when you run the live demo on our website).

To sign your applet, follow these steps:

1. Make sure you have the Java JDK (not the JRE) installed. We are using mostly Java 1.4.2, you can download from http://www.javasoft.com.

2. Generate your own keystore. There is a program called keytool in the bin directory under the Java installation directory that is used to
create keystores. The command goes like:

keytool -genkey -keystore vkeystore -keyalg rsa -dname "CN=Qoppa Software, OU=Qoppa Software, O=Qoppa Software, L=Atlanta, ST=GA,C=NL" -alias printer -validity 3600 -keypass password -storepass password

You can replace the 'Qoppa' instances with your company name.

3. Sign both the applet jar file as well as our Qoppa's jar file (jPDFPrint.jar or jPDFViewer.jar depending on what library you're using). The command is something like:

jarsigner -keystore vkeystore -storepass password -keypass password -alias printer -signedjar xxxS.jar xxx.jar

You will replace xxx.jar with the name of the jar file you are signing and xxxS.jar with the name of the signed jar file.

For more in-depth detail about signing, you can go to http://java.sun.com/docs/books/tutorial/deployment/jar/signindex.html.


 
 
 

Contact Us Site Map

Copyright © 2002-Present Qoppa Software. All rights reserved.

Java and all Java-based marks are trademarks or registered trademarks of

Sun Microsystems, Inc. in the U.S. and other countries.