com.ibm.mm.sdk.security
Class KeystoreGenerator
- java.lang.Object
-
- com.ibm.mm.sdk.security.KeystoreGenerator
-
public class KeystoreGenerator extends java.lang.ObjectCommand-line utility for generating and managing Java Keystores for RSA encryption.This tool provides an interactive way to:
- Create new keystores with RSA key pairs
- List aliases in existing keystores
- Validate keystore and key passwords
Usage:
java -cp cm8-p8-sdk-mimic-jar.jar com.ibm.mm.sdk.security.KeystoreGenerator [command] [options]
Commands:
create - Create a new keystore with RSA key pair list - List all aliases in a keystore validate - Validate keystore and key passwords help - Show this help message
Examples:
# Interactive mode (recommended) java -cp cm8-p8-sdk-mimic-jar.jar com.ibm.mm.sdk.security.KeystoreGenerator # Create keystore with command-line arguments java -cp cm8-p8-sdk-mimic-jar.jar com.ibm.mm.sdk.security.KeystoreGenerator create \ config/keystore.p12 keystorePass123 rsa-encryption-key keyPass123 # List aliases in keystore java -cp cm8-p8-sdk-mimic-jar.jar com.ibm.mm.sdk.security.KeystoreGenerator list \ config/keystore.p12 keystorePass123
-
-
Constructor Summary
Constructors Constructor and Description KeystoreGenerator()
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method and Description static voidmain(java.lang.String[] args)
-