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

public class CertHelperextends HelperBase
Dump out our local SSL certs, if any.
  • Field Details

  • Constructor Details

    • CertHelper

      public CertHelper()
      Creates the helper that renders the local SSL certificate summary.
  • Method Details

    • getSummary

      public String getSummary()
      Generate the certificate summary HTML.
      Returns:
      the HTML string
    • output

      private void output(String name, File file) throws IOException
      Send a certificate file to the browser.
      Parameters:
      name - the certificate name to show as a heading
      file - may be null
      Throws:
      IOException - if writing to the console output fails