Enum PKCSDataType
- java.lang.Object
-
- java.lang.Enum<PKCSDataType>
-
- de.trustable.ca3s.core.web.rest.data.PKCSDataType
-
- All Implemented Interfaces:
Serializable,Comparable<PKCSDataType>
public enum PKCSDataType extends Enum<PKCSDataType>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description CONTAINERCONTAINER_REQUIRING_PASSPHRASECSRUNKNOWNX509_CERTIFICATEX509_CERTIFICATE_CREATED
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static PKCSDataTypevalueOf(String name)Returns the enum constant of this type with the specified name.static PKCSDataType[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
CSR
public static final PKCSDataType CSR
-
X509_CERTIFICATE
public static final PKCSDataType X509_CERTIFICATE
-
X509_CERTIFICATE_CREATED
public static final PKCSDataType X509_CERTIFICATE_CREATED
-
UNKNOWN
public static final PKCSDataType UNKNOWN
-
CONTAINER
public static final PKCSDataType CONTAINER
-
CONTAINER_REQUIRING_PASSPHRASE
public static final PKCSDataType CONTAINER_REQUIRING_PASSPHRASE
-
-
Method Detail
-
values
public static PKCSDataType[] 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 (PKCSDataType c : PKCSDataType.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static PKCSDataType 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
-
-