|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<TimestampStatus>
cz.utb.fai.simkovicp.pki.verification.result.TimestampStatus
public enum TimestampStatus
This enumeration represents the timestamp verification status.
| Enum Constant Summary | |
|---|---|
CERT_NOT_VALID
Timestamp token signature is not valid |
|
FOREIGN_TIMESTAMP_TOKEN
Timestam token refers into foreign document |
|
NO_TIMESTAMP_TOKEN
Signature has not timestamp token |
|
SIGN_CERT_EXPIRATED
Signing certificate expirated |
|
SIGN_CERT_MISSING
Missing signing certificate |
|
SIGN_CERT_NOT_IN_TRUSTSTORE
Signing certificate is not in trust store |
|
SIGN_CERT_NOT_YET_VALID
Signing certificate expirated |
|
TIMESTAMP_OK
Timestamp is OK. |
|
| Method Summary | |
|---|---|
int |
getCode()
Signature code |
static TimestampStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static TimestampStatus[] |
values()
Returns an array containing the constants of this enum type, in the order they are declared. |
| Methods inherited from class java.lang.Enum |
|---|
clone, compareTo, equals, finalize, getDeclaringClass, hashCode, name, ordinal, toString, valueOf |
| Methods inherited from class java.lang.Object |
|---|
getClass, notify, notifyAll, wait, wait, wait |
| Enum Constant Detail |
|---|
public static final TimestampStatus TIMESTAMP_OK
public static final TimestampStatus NO_TIMESTAMP_TOKEN
public static final TimestampStatus FOREIGN_TIMESTAMP_TOKEN
public static final TimestampStatus SIGN_CERT_MISSING
public static final TimestampStatus SIGN_CERT_NOT_IN_TRUSTSTORE
public static final TimestampStatus SIGN_CERT_EXPIRATED
public static final TimestampStatus SIGN_CERT_NOT_YET_VALID
public static final TimestampStatus CERT_NOT_VALID
| Method Detail |
|---|
public static TimestampStatus[] values()
for (TimestampStatus c : TimestampStatus.values()) System.out.println(c);
public static TimestampStatus 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 name
java.lang.NullPointerException - if the argument is nullpublic int getCode()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||