public enum FormatMode extends Enum<FormatMode>
Enum Constant and Description |
---|
COMPACT
Short form: only subject and issuer are printed, in multiple lines
|
COMPACT_ONE_LINE
Short form: only subject and issuer are printed, in one line
|
FULL
Most (but not all) of the information that can be read from the
certificate is included: subject, issuer, validity, fingerprints, usage.
|
MEDIUM
Medium form: subject, issuer and validity is printed in multiple lines
|
MEDIUM_ONE_LINE
Medium form: subject, issuer and validity is printed, in one line
|
Modifier and Type | Method and Description |
---|---|
static FormatMode |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static FormatMode[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final FormatMode COMPACT
public static final FormatMode MEDIUM
public static final FormatMode COMPACT_ONE_LINE
public static final FormatMode MEDIUM_ONE_LINE
public static final FormatMode FULL
public static FormatMode[] values()
for (FormatMode c : FormatMode.values()) System.out.println(c);
public static FormatMode valueOf(String name)
name
- the name of the enum constant to be returned.IllegalArgumentException
- if this enum type has no constant with the specified nameNullPointerException
- if the argument is nullCopyright © 2012-2017 European Middleware Initiative. All Rights Reserved.