Package io.jans.fido2.ctap
Enum CoseEC2Algorithm
- java.lang.Object
-
- java.lang.Enum<CoseEC2Algorithm>
-
- io.jans.fido2.ctap.CoseEC2Algorithm
-
- All Implemented Interfaces:
Serializable
,Comparable<CoseEC2Algorithm>
public enum CoseEC2Algorithm extends Enum<CoseEC2Algorithm>
-
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static CoseEC2Algorithm
fromNumericValue(int value)
int
getNumericValue()
static CoseEC2Algorithm
valueOf(String name)
Returns the enum constant of this type with the specified name.static CoseEC2Algorithm[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
ED256
public static final CoseEC2Algorithm ED256
-
ED512
public static final CoseEC2Algorithm ED512
-
ES256
public static final CoseEC2Algorithm ES256
-
ES384
public static final CoseEC2Algorithm ES384
-
ES512
public static final CoseEC2Algorithm ES512
-
ECDH_ES_HKDF_256
public static final CoseEC2Algorithm ECDH_ES_HKDF_256
-
-
Method Detail
-
values
public static CoseEC2Algorithm[] 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 (CoseEC2Algorithm c : CoseEC2Algorithm.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static CoseEC2Algorithm 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
-
fromNumericValue
public static CoseEC2Algorithm fromNumericValue(int value)
-
getNumericValue
public int getNumericValue()
-
-