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