Class CertPrettyPrint

java.lang.Object
org.mozilla.jss.netscape.security.util.CertPrettyPrint

public class CertPrettyPrint extends Object
This class will display the certificate content in predefined format.
Version:
$Revision$, $Date$
  • Field Details

  • Constructor Details

    • CertPrettyPrint

      public CertPrettyPrint(Certificate cert)
    • CertPrettyPrint

      public CertPrettyPrint(byte[] certb)
  • Method Details

    • toString

      public String toString(Locale clientLocale)
      This method return string representation of the certificate in predefined format using specified client local. I18N Support.
      Parameters:
      clientLocale - Locale to be used for localization
      Returns:
      string representation of the certificate
    • pkcs7toString

      public String pkcs7toString(Locale clientLocale)
    • stripCertBrackets

      public String stripCertBrackets(String s)
    • normalizeCertStr

      public String normalizeCertStr(String s)
    • X509toString

      public String X509toString(Locale clientLocale)