public static enum OpenPgpTrustStore.Trust extends Enum<OpenPgpTrustStore.Trust>
Enum Constant and Description |
---|
trusted
The user explicitly trusts the key.
|
undecided
The user didn't yet describe, whether to trust the key or not.
|
untrusted
The user explicitly distrusts the key.
|
Modifier and Type | Method and Description |
---|---|
static OpenPgpTrustStore.Trust |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static OpenPgpTrustStore.Trust[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final OpenPgpTrustStore.Trust trusted
public static final OpenPgpTrustStore.Trust untrusted
public static final OpenPgpTrustStore.Trust undecided
public static OpenPgpTrustStore.Trust[] values()
for (OpenPgpTrustStore.Trust c : OpenPgpTrustStore.Trust.values()) System.out.println(c);
public static OpenPgpTrustStore.Trust 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