Setting Security through MIDlet Signing
See Also
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 sign a MIDlet suite:
- 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 dropdown menu.
- To create a new keystore or key pair, click the Open Security Manager button.
- Choose an alias from the Alias keystore dropdown menu. The menu lists the
available aliases for the selected keystore.
- 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.
- See Also
- About MIDP Signing and Security
- Creating or Adding a Keystore
- Creating a New Key Pair
- Setting the Security Domain
Legal Notices