Signing a Program File

Once you have a test cerficate, it is easy to sign your CAB file. For information on creating a CAB file, see Making Cabinets. For information on creating a test certificate, see Creating a Test Certificate. For general information, see the readme.

To sign a program file using the Code Signing Wizard:

  1. Run SIGNCODE.
       C:\SIGN\SIGNCODE
    
    This assumes that you installed the Code Signing Kit in the C:\SIGN directory. If you have not installed the Code Signing Kit, you can find it on the CD-ROM in the \CAB&SIGN directory.
    The Code Signing Wizard dialog box appears.
  2. Click Next to advance to the next page.
  3. In the first edit box, enter the name of the program file you want to sign.
    For this example, use FIRSTCAB.CAB. Use the Browse button to help you find this file.
  4. In the second edit box, enter a name for this program file. This name will appear on the certificate.
  5. Click Next to advance to the next page.
  6. In the first edit box, enter the name of the SPC file.
    You created this file. For this example use CERT.SPC. For information on creating a test Software Publishing Certificate, see Creating a Test Certificate.
    Use the Browse button to help you find this file.
  7. In the second edit box, enter the name of the PVK file.
    You created this file. For this example use MYKEY.PVK. For information on creating a private key file, see Creating a Test Certificate.
    Use the Browse button to help you find this file.
  8. Click Next twice to advance to the last page.
  9. Click Sign to sign the CAB file.

    The class file has been put in a CAB file and digitally signed. You are now ready to run the applet.