@SuppressWarnings({"HardCodedStringLiteral", "StringBufferReplaceableByString"})
  @NotNull
  private static String getServerCertificateInfo(@NotNull X509Certificate cert) {
    return new StringBuilder()
      .append(" - Subject: ")
      .append(cert.getSubjectDN().getName())
      .append('\n')
      .append(" - Valid: ")
      .append("from ").append(cert.getNotBefore()).append(" until ").append(cert.getNotAfter())
      .append('\n')
      .append(" - Issuer: ")
      .append(cert.getIssuerDN().getName())
      .append('\n')
      .append(" - Fingerprint: ")
      .append(CertificateInfoPanel.formatHex(new CertificateWrapper(cert).getSha1Fingerprint(), false))
      .toString();
  }
@SuppressWarnings({"HardCodedStringLiteral", "StringBufferReplaceableByString"})
  @NotNull
  private static String getServerCertificateInfo(@NotNull X509Certificate cert)