Class PubKeyPrettyPrint


  • public class PubKeyPrettyPrint
    extends java.lang.Object
    This class will display the certificate content in predefined format.
    • Constructor Summary

      Constructors 
      Constructor Description
      PubKeyPrettyPrint​(java.security.PublicKey key)  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      java.lang.String toString​(java.util.Locale clientLocale, int indentSize, int lineLen)
      This method return string representation of the certificate in predefined format using specified client local.
      java.lang.String X509toString​(java.util.Locale clientLocale, int indentSize, int lineLen)  
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • PubKeyPrettyPrint

        public PubKeyPrettyPrint​(java.security.PublicKey key)
    • Method Detail

      • toString

        public java.lang.String toString​(java.util.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 java.lang.String X509toString​(java.util.Locale clientLocale,
                                             int indentSize,
                                             int lineLen)