Class KeyMixin

All Implemented Interfaces:
Runnable

public class KeyMixin extends AMixin
  • Field Details

    • publicKey

      protected String publicKey
    • keyPassword

      protected char[] keyPassword
  • Constructor Details

    • KeyMixin

      public KeyMixin()
  • Method Details

    • getPublicKey

      public String getPublicKey()
      Gets the key specified on the CLI with --key
      Returns:
      Public key specified at CLI (may be prefix)
    • getKeyPassword

      public char[] getKeyPassword()
      Gets the password for the current key. Prompts for missing password in interactive mode.
      Returns:
      password