4.4 Mobile Phone Midlet Signing

Before deployment to a mobile phone the midlet must gain access to security- sensible operations on the phone (such as sending SMS, opening TCP and COM port connections). To know more about midlet signing please refer to a good brief article about it: http://blog.javia.org/midlet-signing. This process usually involves significant financial expences but fortunately there is a way to sign midlets for Siemens CX65/70 for free.

The tool for signing is called Smelter and it can be downloaded from here: http://avkiev.kiev.ua/Siemens/Smelter/Smelter.rar. It does not required installation and usually works immediatelly after extraction from the archive. In case if the toll fails to start complaining about abscence of some *.ocx libraries then download OCX Control tool which is located here: http://avkiev.kiev.ua/Siemens/Soft/OcxCtrl.rar. By its means register all required libraries and run Smelter again.

First of all, a new certificat must be created. The sequence is described below:

Then, the midlet itself must be signed. The whole sequence is given below:

As result, PUploaderCom.jad will be appended with MIDlet-Certificate-1-1, MIDlet-Jar-RSA-SHA1, MIDlet-Permissions properties. Upload both PUploaderCom.jad and PUploaderCom.jar files to the mobile and install them in a subfolder in Applications directory. The subfolder must be named in a way so that it is displayed first in Java application list (DefendLine or Guarding fits in most cases).