java.lang.Object
net.i2p.router.web.HelperBase
net.i2p.router.web.helpers.ConfigKeyringHelper

public class ConfigKeyringHelperextends HelperBase
Helper for keyring configuration page rendering and form processing.
  • Constructor Details

    • ConfigKeyringHelper

      public ConfigKeyringHelper()
      Creates a helper; the container calls it with no arguments before rendering the page.
  • Method Details

    • getSummary

      public String getSummary()
      Get the summary HTML.
      Returns:
      summary HTML string
    • renderStatusHTML

      private void renderStatusHTML(StringWriter out)
      Render the keyring page.
      Parameters:
      out - the writer the rendered page is appended to
    • render

      private boolean render(StringBuilder buf, boolean local)
      Render the table of encrypted destinations into buf.
      Parameters:
      buf - the buffer to append the table HTML to
      local - true for local (Enc. LS1 only), false for remote (all types)
      Returns:
      true if there were any entries