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. ...

Get Platinum Edition Using XHTML™, XML, and Java™ 2 now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.