Previous | Next | Trail Map | Security in JDK 1.2  | Signing Code and Granting It Permissions

Steps for the Code Signer

The steps you take as the code signer are:

  1. Download and Try the Sample Application.

  2. Create a JAR File Containing the Class File, using the jar tool.

  3. Generate Keys (if they don't already exist), using the keytool -genkey command.

    Optional Step Generate a Certificate Signing Request (CSR) for the Public Key Certificate, and import the response from the Certification Authority (CA). For simplicity (and since we are only pretending to be Susan Jones), this step is omitted. See Generating a Certificate Signing Request (CSR) for a Public Key Certificate(in the Java Security 1.2 trail) for more information.

  4. Sign the JAR File, using the jarsigner tool and the private key generated in Step 4.

  5. Export the Public Key Certificate, using the keytool -export command. Then supply the signed JAR file and the certificate to the receiver Ray.


Previous | Next | Trail Map | Security in JDK 1.2  | Signing Code and Granting It Permissions