Class PubKeyPrettyPrint

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

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

    • logger

      public static final org.slf4j.Logger logger
    • mX509Key

      private X509Key mX509Key
    • pp

      private PrettyPrintFormat pp
  • Constructor Details

    • PubKeyPrettyPrint

      public PubKeyPrettyPrint(PublicKey key)
  • Method Details

    • toString

      public String toString(Locale clientLocale, int indentSize, int lineLen)
      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
    • X509toString

      public String X509toString(Locale clientLocale, int indentSize, int lineLen)