Class KeyTool

java.lang.Object
org.glassfish.main.itest.tools.KeyTool

public class KeyTool extends Object
Tool for executing keytool/keytool.bat commands. The tool is stateless.
  • 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)
      Loads the KeyStore from a file.
      Parameters:
      inputFile -
      password -
      Returns:
      KeyStore