Class CertificatePane

java.lang.Object
java.awt.Component
java.awt.Container
javax.swing.JComponent
javax.swing.JPanel
net.adoptopenjdk.icedteaweb.client.certificateviewer.CertificatePane
All Implemented Interfaces:
ImageObserver, MenuContainer, Serializable, Accessible

public class CertificatePane extends JPanel
See Also:
  • Field Details

    • LOG

      private static final Logger LOG
    • certs

      private ArrayList<X509Certificate> certs
      The certificates stored in the certificates file.
    • TABLE_DIMENSION

      private static final Dimension TABLE_DIMENSION
    • issuedToAndBy

      private String[][] issuedToAndBy
      "Issued To" and "Issued By" string pairs for certs.
    • columnNames

      private final String[] columnNames
    • certificateTypes

      private final CertificatePane.CertificateType[] certificateTypes
    • tabbedPane

      JTabbedPane tabbedPane
    • certPath

      JTextField certPath
    • userTable

      private final JTable userTable
    • systemTable

      private final JTable systemTable
    • certificateTypeCombo

      private JComboBox<CertificatePane.CertificateType> certificateTypeCombo
    • currentKeyStoreType

      private KeyStores.Type currentKeyStoreType
    • currentKeyStoreLevel

      private KeyStores.Level currentKeyStoreLevel
    • disableForSystem

      private final List<JComponent> disableForSystem
      JComponents that should be disabled for system store
    • parent

      private Window parent
    • defaultFocusComponent

      private JComponent defaultFocusComponent
    • keyStore

      private KeyStores.KeyStoreWithPath keyStore
      The Current KeyStore. Only one table/tab is visible for interaction to the user. This KeyStore corresponds to that.
  • Constructor Details

    • CertificatePane

      public CertificatePane(Window parent)
  • Method Details

    • initializeKeyStore

      private void initializeKeyStore()
      Reads the user's trusted.cacerts keystore.
    • addComponents

      private void addComponents()
    • readKeyStore

      private void readKeyStore()
      Read in the optionPane's keystore to issuedToAndBy.
    • repopulateTables

      private void repopulateTables()
      Re-reads the certs file and repopulates the JTable. This is typically called after a certificate was deleted from the keystore.
    • focusOnDefaultButton

      public void focusOnDefaultButton()
    • getPassword

      private char[] getPassword(String label)