Cep Terminals GSM/GPRS TERMINAL CT63 JAVA 6203 Manual Do Utilizador

Códigos do produto
6203
Página de 109
Java User’s Guide
11.6 Attention
99
wm_java_usersguide_v19
Page 99 of 109
2012-01-27
Confidential / Released
11.5.4
Sign a MIDlet
Use the tool “jadtool.jar”  to sign a Java MIDlet.  This program is in the folder “wkt\bin”.
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 have no chance of deactivating Java 
Security, downloading of a new Midlet or starting any other operation concerning Java Security.
To prevent problems you are strongly advised to secure the private key.
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