Package com.adaptris.core.jwt.secrets
Enum RSAEncodedSecret.RSAAlgorithms
- java.lang.Object
-
- java.lang.Enum<RSAEncodedSecret.RSAAlgorithms>
-
- com.adaptris.core.jwt.secrets.RSAEncodedSecret.RSAAlgorithms
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Comparable<RSAEncodedSecret.RSAAlgorithms>
- Enclosing class:
- RSAEncodedSecret
public static enum RSAEncodedSecret.RSAAlgorithms extends java.lang.Enum<RSAEncodedSecret.RSAAlgorithms>
-
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static RSAEncodedSecret.RSAAlgorithms
valueOf(java.lang.String name)
Returns the enum constant of this type with the specified name.static RSAEncodedSecret.RSAAlgorithms[]
values()
Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
RS256
public static final RSAEncodedSecret.RSAAlgorithms RS256
JWA algorithm name forRSASSA-PKCS-v1_5 using SHA-256
-
RS384
public static final RSAEncodedSecret.RSAAlgorithms RS384
JWA algorithm name forRSASSA-PKCS-v1_5 using SHA-384
-
RS512
public static final RSAEncodedSecret.RSAAlgorithms RS512
JWA algorithm name forRSASSA-PKCS-v1_5 using SHA-512
-
-
Method Detail
-
values
public static RSAEncodedSecret.RSAAlgorithms[] 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 (RSAEncodedSecret.RSAAlgorithms c : RSAEncodedSecret.RSAAlgorithms.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static RSAEncodedSecret.RSAAlgorithms 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
-
-