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:
- 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.
- Click Next to advance to the next page.
- 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.
- In the second edit box, enter a name for this
program file. This name will appear on the
certificate.
- Click Next to advance to the next page.
- 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.
- 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.
- Click Next twice to advance to the last page.
- 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.