chMEKeyTool: Public Key Certificate Management Tool

Availability

MIDP Reference Implementation, Wireless Toolkit

Synopsis

java -jar MEKeyTool.jar -help

java -jar MEKeyTool.jar -list [-MEkeystore filename]

java -jar MEKeyTool.jar -import [-MEkeystore filename] [-keystore filename] [-storepass password] -alias keyAlias [-domain domain]

java -jar MEKeyTool.jar -delete [-MEKeystore filename] -owner ownerName

Description

MEKeyTool is a Java language utility used to manage a keystore that holds public key certificates required to use the support for secure networking (HTTPS) provided by the MIDP reference implementation and the J2ME Wireless Toolkit. MEKeyTool is shipped in the form of a JAR file called MEKeyTool.jar in the directory %INSTALL_DIR%\bin, where %INSTALL_DIR% is the directory in which the J2ME Wireless Toolkit is installed. It is also provided in source code form as part of the MIDP reference implementation.

When used with the J2ME Wireless Toolkit, MEKeyTool maintains a certificate keystore (it is referred to here as the ME keystore), that is held, by default, in a file called %INSTALL_DIR%\appdb\_main.ks. All operations implicitly apply to this keystore, unless you supply an alternative using the -MEkeystore option. MEKeyTool can list the content of the keystore, import a certificate from a J2SE keystore, or delete a certificate from the keystore. In order to make proper use of MEKeyTool, you need to be familiar with the J2SE keystore and the keytool command that is used ...

Get J2ME in a Nutshell now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.