public enum RevocationReasonEnumeration extends Enum<RevocationReasonEnumeration>
| Enum Constant and Description |
|---|
AffiliationChanged |
CACompromise |
CessationOfOperation |
KeyCompromise |
PrivilegeWithdrawn |
Superseded |
Unspecified |
| Modifier and Type | Method and Description |
|---|---|
static RevocationReasonEnumeration |
from(int code) |
static RevocationReasonEnumeration |
from(String name) |
int |
getCode() |
String |
toString() |
static RevocationReasonEnumeration |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static RevocationReasonEnumeration[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static final RevocationReasonEnumeration Unspecified
public static final RevocationReasonEnumeration KeyCompromise
public static final RevocationReasonEnumeration CACompromise
public static final RevocationReasonEnumeration AffiliationChanged
public static final RevocationReasonEnumeration Superseded
public static final RevocationReasonEnumeration CessationOfOperation
public static final RevocationReasonEnumeration PrivilegeWithdrawn
public static RevocationReasonEnumeration[] values()
for (RevocationReasonEnumeration c : RevocationReasonEnumeration.values()) System.out.println(c);
public static RevocationReasonEnumeration 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 nullpublic int getCode()
public String toString()
toString in class Enum<RevocationReasonEnumeration>public static RevocationReasonEnumeration from(String name) throws IllegalArgumentException
IllegalArgumentExceptionpublic static RevocationReasonEnumeration from(int code) throws IllegalArgumentException
IllegalArgumentExceptionCopyright © 2022. All rights reserved.