Sign a midlet, Attention, 4 sign a midlet – Siemens TC65 User Manual
Page 81: 6 attention
TC65 JAVA User's Guide
Strictly confidential / Released
s
TC65 JAVA User's Guide_V05
Page 81 of 90
26.09.2005
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.4
Sign 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.6 Attention
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.