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