Enum KeyDescription.KeyTypes
- java.lang.Object
-
- java.lang.Enum<KeyDescription.KeyTypes>
-
- de.cardcontact.opencard.service.smartcardhsm.KeyDescription.KeyTypes
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<KeyDescription.KeyTypes>
- Enclosing class:
- KeyDescription
public static enum KeyDescription.KeyTypes extends java.lang.Enum<KeyDescription.KeyTypes>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static KeyDescription.KeyTypes
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static KeyDescription.KeyTypes[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RSA
public static final KeyDescription.KeyTypes RSA
-
EC
public static final KeyDescription.KeyTypes EC
-
AES
public static final KeyDescription.KeyTypes AES
-
-
Method Detail
-
values
public static KeyDescription.KeyTypes[] 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 (KeyDescription.KeyTypes c : KeyDescription.KeyTypes.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyDescription.KeyTypes valueOf(java.lang.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:
java.lang.IllegalArgumentException
- if this enum type has no constant with the specified namejava.lang.NullPointerException
- if the argument is null
-
-