Appendix G. Using the jarsigner Tool

This appendix shows you how to use the jarsigner tool of the Java 2 platform to sign JAR files. It can also be used as a command-line reference for the jarsigner tool.

JAR Files

A JAR file is a compressed archive file that is created using the Java archive tool (jar), which is similar to the PKZIP program developed by Phil Katz. It combines multiple files into a single archive file that is compressed using the ZLIB compression library. Although jar is a general-purpose file archive and compression tool, its main purpose is to combine the files used by an applet, application, or API into a single compressed file for efficient loading by a Java-enabled Web browser.

Using JAR files with applets can greatly improve ...

Get Java Security Handbook now with O’Reilly online learning.

O’Reilly members experience live online training, plus books, videos, and digital content from 200+ publishers.