|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objecteu.emi.security.authn.x509.impl.X509Formatter
public class X509Formatter
Utility allowing for converting certificates to various text representations.
| Constructor Summary | |
|---|---|
X509Formatter(FormatMode mode)
Creates a new X509Formatter object |
|
| Method Summary | |
|---|---|
String |
format(X509Certificate cert)
Produces a human readable text representation of the provided certificate. |
String |
format(X509Certificate[] certChain)
Produces a human readable text representation of the provided certificate chain. |
String |
format(X509Certificate[] certChain,
boolean preamble)
Produces a human readable text representation of the provided certificate chain. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public X509Formatter(FormatMode mode)
mode - the formatting mode that will be used by this object.| Method Detail |
|---|
public String format(X509Certificate cert)
cert - input certificate
public String format(X509Certificate[] certChain)
certChain - input certificates
public String format(X509Certificate[] certChain,
boolean preamble)
certChain - input certificatespreamble - whether to print a first line with an information on
the number of elements.
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||