public class KeyTool
extends Object
Tool for executing keytool/keytool.bat commands.
The tool is stateless.
-
Constructor Summary
Constructors
-
Method Summary
void
Executes the command with arguments.
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
-
Constructor Details
-
KeyTool
public KeyTool(File keytool)
- Parameters:
keytool -
-
Method Details
-
exec
public void exec(String... args)
Executes the command with arguments.
- Parameters:
args -
-
loadKeyStore
public static KeyStore loadKeyStore(File inputFile,
char[] password)
- Parameters:
inputFile -
password -
- Returns:
KeyStore