Package org.xipki.ca.api.profile
Enum Certprofile.CertLevel
- java.lang.Object
-
- java.lang.Enum<Certprofile.CertLevel>
-
- org.xipki.ca.api.profile.Certprofile.CertLevel
-
- All Implemented Interfaces:
Serializable,Comparable<Certprofile.CertLevel>
- Enclosing class:
- Certprofile
public static enum Certprofile.CertLevel extends Enum<Certprofile.CertLevel>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static Certprofile.CertLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static Certprofile.CertLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RootCA
public static final Certprofile.CertLevel RootCA
-
SubCA
public static final Certprofile.CertLevel SubCA
-
CROSS
public static final Certprofile.CertLevel CROSS
-
EndEntity
public static final Certprofile.CertLevel EndEntity
-
-
Method Detail
-
values
public static Certprofile.CertLevel[] 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 (Certprofile.CertLevel c : Certprofile.CertLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static Certprofile.CertLevel 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
-
-