|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | ENUM CONSTANTS | FIELD | METHOD | DETAIL: ENUM CONSTANTS | FIELD | METHOD | |||||||||
java.lang.Objectjava.lang.Enum<SignatureStatus>
cz.utb.fai.simkovicp.pki.verification.result.SignatureStatus
public enum SignatureStatus
This enemarion represents the signature verification status.
| Enum Constant Summary | |
|---|---|
CERT_NOT_VALID
Certificate is not valid |
|
NO_SIGN_CERTIFICATE
No certificate |
|
SIGN_CERT_EXPIRATED
Signing certificate expirated |
|
SIGN_CERT_NOT_YET_VALID
Signing certificate expirated |
|
SIGNATURE_KO
Signature is KO. |
|
SIGNATURE_OK
Signature is OK. |
|
| Method Summary | |
|---|---|
int |
getCode()
Signature code |
static SignatureStatus |
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name. |
static SignatureStatus[] |
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 SignatureStatus SIGNATURE_OK
public static final SignatureStatus SIGNATURE_KO
public static final SignatureStatus CERT_NOT_VALID
public static final SignatureStatus SIGN_CERT_EXPIRATED
public static final SignatureStatus SIGN_CERT_NOT_YET_VALID
public static final SignatureStatus NO_SIGN_CERTIFICATE
| Method Detail |
|---|
public static SignatureStatus[] values()
for (SignatureStatus c : SignatureStatus.values()) System.out.println(c);
public static SignatureStatus 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 | |||||||||