Class SecuritySettingsPanel

    • Field Detail

      • DEFAULT_CERT_STORE

        protected static final java.lang.String DEFAULT_CERT_STORE
        See Also:
        Constant Field Values
      • main

        protected javax.swing.JTabbedPane main
        Main pane.
      • nwtable

        protected javax.swing.JTable nwtable
        Networks table.
      • natable

        protected javax.swing.JTable natable
        Name authorities panel.
      • nacerts

        protected java.util.Map<java.lang.String,​java.lang.String> nacerts
        Name authority certificates (dn to cert).
      • trustedtable

        protected javax.swing.JTable trustedtable
        Trusted names panel.
      • roletable

        protected javax.swing.JTable roletable
        Role table.
      • usesecret

        protected javax.swing.JCheckBox usesecret
        Use secret check box.
      • printsecret

        protected javax.swing.JCheckBox printsecret
        Print secret check box.
      • pfsecret

        protected javax.swing.JTextArea pfsecret
        Text area to display the platform secret.
      • certtree

        protected CertTree certtree
        The main certificate tree.
    • Constructor Detail

      • SecuritySettingsPanel

        public SecuritySettingsPanel()
    • Method Detail

      • getId

        public java.lang.String getId()
        The id used for mapping properties.
        Specified by:
        getId in interface IAbstractViewerPanel
      • getComponent

        public javax.swing.JComponent getComponent()
        The component to be shown in the gui.
        Specified by:
        getComponent in interface IAbstractViewerPanel
        Returns:
        The component to be displayed.
      • createGeneralPanel

        protected javax.swing.JPanel createGeneralPanel()
        Returns:
      • createNetworkPanel

        protected javax.swing.JPanel createNetworkPanel()
        Create the network panel.
        Returns:
        The network panel.
      • createRolePanel

        protected javax.swing.JPanel createRolePanel()
        Creates the role panel.
        Returns:
        The role panel.
      • createNameAuthoritiesPanel

        protected javax.swing.JPanel createNameAuthoritiesPanel()
        Creates panel for name authorities.
        Returns:
        Panel for name authorities.
      • createTrustedNamesPanel

        protected javax.swing.JPanel createTrustedNamesPanel()
        Creates panel for name authorities.
        Returns:
        Panel for name authorities.
      • setNetwork

        protected void setNetwork()
        Sets secret for network.
        Parameters:
        nwn - The network name.
      • writeCertStore

        protected void writeCertStore​(byte[] newstore)
        Writes the cert store.
        Parameters:
        newstore - The content.
      • refreshPlatformSecretState

        protected void refreshPlatformSecretState()
        Refreshes the networks.
      • refreshNetworks

        protected void refreshNetworks()
        Refreshes the networks.
      • refreshRoles

        protected void refreshRoles()
        Refreshes the networks.
      • refreshNameAuthorities

        protected void refreshNameAuthorities()
        Refreshes the networks.
      • refreshTrustedPlatforms

        protected void refreshTrustedPlatforms()
        Refreshes the networks.