13.07.2015 Views

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

Java™ Application Development on Linux - Dator

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

164Chapter 5The Sun Microsystems Java Software <str<strong>on</strong>g>Development</str<strong>on</strong>g> Kit-x-t-f-v-mExtract files from a JAR file.List files in a JAR.Specify the JAR filename.Be verbose—display descripti<strong>on</strong>s of what the jar utility is doing as itdoes it.Add the c<strong>on</strong>tents of the named file to the manifest.5.12THE REST OF THE TOOLKITThere are additi<strong>on</strong>al utilities in the toolkit. Below is a capsule summary of themand their purposes.extcheckThis utility checks an applet JAR file for any extensi<strong>on</strong>s it requires that arein c<strong>on</strong>flict with the current Java runtime envir<strong>on</strong>ment. (But we d<strong>on</strong>’tcover applets in this book.)jarsignerThis is a utility for digitally signing JAR file. Once a JAR is signed, any<strong>on</strong>elooking at it can be sure of two things—first, the file was definitely preparedby the owner of the private key that matches the public key used toverify the signature; 29 and sec<strong>on</strong>d, the JAR file has not been modified inany way since it was signed. In other words, depending up<strong>on</strong> the care withwhich the signer treats his/her private key, this certifies the authenticity29. A discussi<strong>on</strong> of public/private keys as an authenticati<strong>on</strong> mechanism is bey<strong>on</strong>d our scopehere. As a shameless plug, Mr. Schwarz would like to point you to Chapter 10 of his previousbook, Multitool <strong>Linux</strong>, which c<strong>on</strong>tains a beginner’s introducti<strong>on</strong> to public key authenticati<strong>on</strong>using GnuPG. Of course, a quick Google search will find you many <strong>on</strong>line descripti<strong>on</strong>s thatare free.

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!