Class CertPrettyPrint
java.lang.Object
org.mozilla.jss.netscape.security.util.CertPrettyPrint
This class will display the certificate content in predefined
format.
- Version:
- $Revision$, $Date$
-
Field Summary
FieldsModifier and TypeFieldDescriptionprivate static final String
private static final org.slf4j.Logger
private byte[]
private X509CertImpl
private PrettyPrintFormat
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionpkcs7toString
(Locale clientLocale) This method return string representation of the certificate in predefined format using specified client local.X509toString
(Locale clientLocale)
-
Field Details
-
CUSTOM_LOCALE
- See Also:
-
logger
private static final org.slf4j.Logger logger -
mX509Cert
-
pp
-
mCert_b
private byte[] mCert_b
-
-
Constructor Details
-
CertPrettyPrint
-
CertPrettyPrint
public CertPrettyPrint(byte[] certb)
-
-
Method Details
-
toString
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
-
stripCertBrackets
-
normalizeCertStr
-
X509toString
-