Package org.xipki.ca.gateway
Enum Requestor.Permission
- java.lang.Object
-
- java.lang.Enum<Requestor.Permission>
-
- org.xipki.ca.gateway.Requestor.Permission
-
- All Implemented Interfaces:
Serializable,Comparable<Requestor.Permission>
- Enclosing interface:
- Requestor
public static enum Requestor.Permission extends Enum<Requestor.Permission>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENROLL_CERTENROLL_CROSSGEN_KEYPAIRREENROLL_CERTREVOKE_CERTUNSUSPEND_CERT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Requestor.PermissionvalueOf(String name)Returns the enum constant of this type with the specified name.static Requestor.Permission[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ENROLL_CERT
public static final Requestor.Permission ENROLL_CERT
-
REENROLL_CERT
public static final Requestor.Permission REENROLL_CERT
-
GEN_KEYPAIR
public static final Requestor.Permission GEN_KEYPAIR
-
ENROLL_CROSS
public static final Requestor.Permission ENROLL_CROSS
-
UNSUSPEND_CERT
public static final Requestor.Permission UNSUSPEND_CERT
-
REVOKE_CERT
public static final Requestor.Permission REVOKE_CERT
-
-
Method Detail
-
values
public static Requestor.Permission[] values()
Returns an array containing the constants of this enum type, in the order they are declared. This method may be used to iterate over the constants as follows:for (Requestor.Permission c : Requestor.Permission.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Requestor.Permission valueOf(String name)
Returns the enum constant of this type with the specified name. The string must match exactly an identifier used to declare an enum constant in this type. (Extraneous whitespace characters are not permitted.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum type has no constant with the specified nameNullPointerException- if the argument is null
-
-