Signing a MIDlet suite allows MIDP devices to verify the integrity and origins
of your MIDlet suite. To sign a MIDlet suite, you use the Signing Properties
page to assign or create a key
pair:
A private key that is used to create a digital signature, or certificate.
A public key that can be used by anyone to verify the authenticity of the
signature.
You can then export the key pair to the emulator platform you are using for
testing.
To create a new key pair:
Choose File > <active project name> Properties. In the
Project Properties dialog, select Build > Signing.
Check the Sign Distribution checkbox to enable signing.
Choose a keystore from the Keystore drop-down menu.
The Security certificate details of the selected keystore
If no keystore is available, or you want to create a new keystore, click
the Open Security Manager button.
This opens the Security Manager
dialog.
Choose a keystore from the left window of the dialog, or click Add Keystore
to create a new keystore.
Then close the Security manager.
Choose an alias from the Alias keystore drop-down menu. The menu lists the
available aliases for the selected keystore.
You can create new aliases in the Security
Manager dialog.
If necessary, click the unlock buttons to make the keystore and alias available
for use.
Click the Export Key into Java ME SDK/Platform/Emulator button to export
a key into the emulator platform you intend to use to test the MIDlet.
For more information about key pairs and keystores, see