MEKeyTool manages the public keys of certificate authorities (CAs), making it functionally similar to the keytool utility that comes with the Java SE SDK. The keys can be used to facilitate secure HTTP communication over SSL (HTTPS).
To run MEKeyTool, open a command prompt, change the current directory to installdir\bin, and enter the following command:mekeytool.exe -command
The command keywords follow.
The Java ME Platform SDK contains a default ME keystore called _main.ks, which is located in the installdir\runtimes\cldc-hi-javafx\appdb. This keystore includes all the certificates that exist in the default Java SE platform keystore that comes with the Java SE installation.
Also, each emulator instance has its own _main.ks file located in userhome/javme-sdk/3.0/work/emulator-instance/appdb.If you do not specify a value for MEKeystore, a new key is added to the default ME key for this emulator instance.
If you do not specify a value for -keystore, the default keystore is used: C:\Documents and Settings\user\.keystore.ks
Prints the usage instructions for MEKeyTool.
Imports a public key into the ME keystore from the given JCE keystore using the given Java Cryptography Extension keystore password. and the default Java Cryptography Extension keystore is user.home\.keystore.
-list [-MEKeystore filename]
Lists the keys in the ME keystore, including the owner and validity period for each.
-delete (-owner owner | -number key-number)[-MEKeystore filename]
Deletes a key from the given ME keystore with the given owner.