O'Reilly logo

Platinum Edition Using XHTML™, XML, and Java™ 2 by Andrew H. Watt, Mike Morgan, Jim O'Donnell, Eric Ladd

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Making and Using Signed Applets

Starting in JDK 1.1, Sun introduced several new APIs to the core set of Java APIs. Two of these classes are Security and SignedObject. These classes provide for digital signatures and message digests (in accordance with the industry standard X.509v3). These signatures are based on public/private key pairs.

To sign your applets or to prepare your system to use signed applets, you need the jar, keytool, jarsigner, and appletviewer tools included with SDK 1.3. You make and access Java archives with jar, make keys with keytool, sign archives with jarsigner, and test and develop using the appletviewer mini-browser.

Before getting started, you might want to see what happens when an applet throws a security exception. ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required