Class KeyPane

All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class KeyPane extends JPanel
The class provides an editing and control UI for the keys managed by this program. It allows:
  1. creating new secret keys and exporting them to share with others.
  2. TBA: importing private keys.
  3. TBA: importing and exporting public key certificates.
  4. deleting keys and certificates.
Author:
Andrew Pavlin, KA2DDO
See Also:
  • Constructor Details

    • KeyPane

      public KeyPane()
  • Method Details

    • createKeyImportDialog

      public static void createKeyImportDialog(Component parent, KeyTableModel tm, boolean allowSecret, boolean allowPrivate, boolean allowPublic)
      Create the dialog for importing keys into YAAC's keystore.
      Parameters:
      parent - parent AWT Component which is creating the dialog
      tm - KeyTableModel (if present) to update when the new key is added, or null if no table to update
      allowSecret - if true, show the subpanel for typing in a secret key as displayed by the export key function
      allowPrivate - if true, show the subpanel for importing a private key keystore or public key certificate and enable private key import
      allowPublic - if true, show the subpanel for importing a private key keystore or public key certificate and enable public certificate import