Flag
public enum TimeSource extends java.lang.Enum<TimeSource> implements Flag
Enum Constant | Description |
---|---|
EXPIRED_TIME_STAMP |
Expired time stamp
|
PROOF_OF_EXISTENCE |
Proof of Existence
|
SIGNATURE_TIME |
Signature time
|
Modifier and Type | Method | Description |
---|---|---|
static TimeSource |
valueOf(java.lang.String name) |
Returns the enum constant of this type with the specified name.
|
static TimeSource[] |
values() |
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final TimeSource PROOF_OF_EXISTENCE
public static final TimeSource EXPIRED_TIME_STAMP
public static final TimeSource SIGNATURE_TIME
public static TimeSource[] values()
for (TimeSource c : TimeSource.values()) System.out.println(c);
public static TimeSource valueOf(java.lang.String name)
name
- the name of the enum constant to be returned.java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null