Siemens TC65 manual Sign a MIDlet, Command switch off module exchange functionality

Models: TC65

1 90
Download 90 pages 14.61 Kb
Page 81
Image 81

TC65 JAVA User's Guide

Strictly confidential / Released

s

Command: switch on module exchange functionality

java -jar jseccmd.jar -cmd ObexActivationOn

–imei 012345678901234 -alias keyname

-storepass keystorepassword -keypass keypassword -keystore customer.ks > ObexActivationOn.bin

Command: switch off module exchange functionality

java -jar jseccmd.jar -cmd ObexActivationOff

–imei 012345678901234 -alias keyname

-storepass keystorepassword -keypass keypassword -keystore customer.ks > ObexActivationOff.bin

11.5.4Sign a MIDlet

Use the tool “jadtool.jar” to sign a Java MIDlet. This program is in the folder “wkt\bin”.

java -jar jadtool.jar -addjarsig -jarfile helloworld.jar -inputjad helloworld.jad -outputjad helloworld.jad

-alias keyname -storepass keystorepassword -keypass keypassword -keystore customer.ks -encoding UTF-8

11.6Attention

The central element of Java Security is the private key. If Java Security is activated and you lose the private key, then the module is destroyed. You do not have a possibility of deactivating Java Security, downloading of a new Midlet or of starting any other operation concerning Java Security.

In order to prevent this, we recommend to you particularly to secure the private key.

TC65 JAVA User's Guide_V05

Page 81 of 90

26.09.2005

Page 81
Image 81
Siemens TC65 manual Sign a MIDlet, Command switch off module exchange functionality