Package io.smallrye.jwt.auth.principal
Enum DefaultJWTTokenParser.ProtectionLevel
- java.lang.Object
-
- java.lang.Enum<DefaultJWTTokenParser.ProtectionLevel>
-
- io.smallrye.jwt.auth.principal.DefaultJWTTokenParser.ProtectionLevel
-
- All Implemented Interfaces:
Serializable,Comparable<DefaultJWTTokenParser.ProtectionLevel>
- Enclosing class:
- DefaultJWTTokenParser
protected static enum DefaultJWTTokenParser.ProtectionLevel extends Enum<DefaultJWTTokenParser.ProtectionLevel>
-
-
Enum Constant Summary
Enum Constants Enum Constant Description ENCRYPTSIGNSIGN_ENCRYPT
-
Method Summary
All Methods Static Methods Concrete Methods Modifier and Type Method Description static DefaultJWTTokenParser.ProtectionLevelvalueOf(String name)Returns the enum constant of this type with the specified name.static DefaultJWTTokenParser.ProtectionLevel[]values()Returns an array containing the constants of this enum type, in the order they are declared.
-
-
-
Enum Constant Detail
-
SIGN
public static final DefaultJWTTokenParser.ProtectionLevel SIGN
-
ENCRYPT
public static final DefaultJWTTokenParser.ProtectionLevel ENCRYPT
-
SIGN_ENCRYPT
public static final DefaultJWTTokenParser.ProtectionLevel SIGN_ENCRYPT
-
-
Method Detail
-
values
public static DefaultJWTTokenParser.ProtectionLevel[] 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 (DefaultJWTTokenParser.ProtectionLevel c : DefaultJWTTokenParser.ProtectionLevel.values()) System.out.println(c);
- Returns:
- an array containing the constants of this enum type, in the order they are declared
-
valueOf
public static DefaultJWTTokenParser.ProtectionLevel 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
-
-