Package org.xipki.cmp.client
Enum EnrollCertRequest.EnrollType
- java.lang.Object
-
- java.lang.Enum<EnrollCertRequest.EnrollType>
-
- org.xipki.cmp.client.EnrollCertRequest.EnrollType
-
- All Implemented Interfaces:
Serializable,Comparable<EnrollCertRequest.EnrollType>
- Enclosing class:
- EnrollCertRequest
public static enum EnrollCertRequest.EnrollType extends Enum<EnrollCertRequest.EnrollType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CERT_REQCROSS_CERT_REQINIT_REQKEY_UPDATE
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static EnrollCertRequest.EnrollTypevalueOf(String name)Returns the enum constant of this type with the specified name.static EnrollCertRequest.EnrollType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CERT_REQ
public static final EnrollCertRequest.EnrollType CERT_REQ
-
INIT_REQ
public static final EnrollCertRequest.EnrollType INIT_REQ
-
KEY_UPDATE
public static final EnrollCertRequest.EnrollType KEY_UPDATE
-
CROSS_CERT_REQ
public static final EnrollCertRequest.EnrollType CROSS_CERT_REQ
-
-
Method Detail
-
values
public static EnrollCertRequest.EnrollType[] 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 (EnrollCertRequest.EnrollType c : EnrollCertRequest.EnrollType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static EnrollCertRequest.EnrollType 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
-
-