Enum KeyAlgoLength
- java.lang.Object
-
- java.lang.Enum<KeyAlgoLength>
-
- de.trustable.ca3s.core.web.rest.data.KeyAlgoLength
-
- All Implemented Interfaces:
Serializable,Comparable<KeyAlgoLength>
public enum KeyAlgoLength extends Enum<KeyAlgoLength>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description StringalgoName()intkeyLength()static KeyAlgoLengthvalueOf(String name)Returns the enum constant of this type with the specified name.static KeyAlgoLength[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RSA_2048
public static final KeyAlgoLength RSA_2048
-
RSA_4096
public static final KeyAlgoLength RSA_4096
-
-
Method Detail
-
values
public static KeyAlgoLength[] 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 (KeyAlgoLength c : KeyAlgoLength.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static KeyAlgoLength 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
-
algoName
public String algoName()
-
keyLength
public int keyLength()
-
-