Class SelectAliasDialog

    • Constructor Detail

      • SelectAliasDialog

        public SelectAliasDialog​(JDialog parent)
        Constructor of the SelectAliasDialog.
        Parameters:
        parent - the parent frame for this dialog.
    • Method Detail

      • display

        public void display​(String[] aliases)
        Displays this dialog with the provided aliases.
        Parameters:
        aliases - the aliases to display.
      • isCanceled

        public boolean isCanceled()
        Returns true if the user clicked on cancel and false otherwise.
        Returns:
        true if the user clicked on cancel and false otherwise.
      • getSelectedAlias

        public String getSelectedAlias()
        Returns the selected certificate alias.
        Returns:
        the selected certificate alias.
      • main

        public static void main​(String[] args)
        Method written for testing purposes.
        Parameters:
        args - the arguments to be passed to the test program.