public static enum GpgKeyInfo.Status extends Enum<GpgKeyInfo.Status>
Order of values in this enum is significant: OK is "better" than BAD, etc.
Enum Constant and Description |
---|
BAD
Something is wrong with this key.
|
OK
Inspecting only this key found no problems, but the system does not fully trust the key's
origin.
|
TRUSTED
This key is valid, and the system knows enough about the key and its origin to trust it.
|
Modifier and Type | Method and Description |
---|---|
static GpgKeyInfo.Status |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static GpgKeyInfo.Status[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final GpgKeyInfo.Status BAD
public static final GpgKeyInfo.Status OK
public static final GpgKeyInfo.Status TRUSTED
public static GpgKeyInfo.Status[] values()
for (GpgKeyInfo.Status c : GpgKeyInfo.Status.values()) System.out.println(c);
public static GpgKeyInfo.Status 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 null