Enum Class AllJwsAlgorithm
- 所有已实现的接口:
cn.herodotus.stirrup.kernel.definition.enums.BaseUiEnum<Integer>,cn.herodotus.stirrup.kernel.definition.enums.EnumDescription,cn.herodotus.stirrup.kernel.definition.enums.EnumValue<Integer>,Serializable,Comparable<AllJwsAlgorithm>,Constable
public enum AllJwsAlgorithm
extends Enum<AllJwsAlgorithm>
implements cn.herodotus.stirrup.kernel.definition.enums.BaseUiEnum<Integer>
Description: OAuth2 TokenJwsAlgorithm
- 作者:
- : gengwei.zheng
- Date:
- : 2023/12/12 19:48
-
嵌套类概要
从类继承的嵌套类/接口 java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
枚举常量概要
枚举常量枚举常量说明ECDSA using P-256 and SHA-256 (Recommended+)ECDSA using P-384 and SHA-384 (Optional)ECDSA using P-521 and SHA-512 (Optional)HMAC using SHA-256 (Required)HMAC using SHA-384 (Optional)HMAC using SHA-512 (Optional)RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional)RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional)RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional)RSASSA-PKCS1-v1_5 using SHA-256 (Recommended)RSASSA-PKCS1-v1_5 using SHA-384 (Optional)RSASSA-PKCS1-v1_5 using SHA-512 (Optional) -
方法概要
修饰符和类型方法说明static AllJwsAlgorithmgetValue()不加@JsonValue,转换的时候转换出完整的对象。static AllJwsAlgorithmReturns the enum constant of this class with the specified name.static AllJwsAlgorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
枚举常量详细资料
-
RS256
RSASSA-PKCS1-v1_5 using SHA-256 (Recommended) -
RS384
RSASSA-PKCS1-v1_5 using SHA-384 (Optional) -
RS512
RSASSA-PKCS1-v1_5 using SHA-512 (Optional) -
ES256
ECDSA using P-256 and SHA-256 (Recommended+) -
ES384
ECDSA using P-384 and SHA-384 (Optional) -
ES512
ECDSA using P-521 and SHA-512 (Optional) -
PS256
RSASSA-PSS using SHA-256 and MGF1 with SHA-256 (Optional) -
PS384
RSASSA-PSS using SHA-384 and MGF1 with SHA-384 (Optional) -
PS512
RSASSA-PSS using SHA-512 and MGF1 with SHA-512 (Optional) -
HS256
HMAC using SHA-256 (Required) -
HS384
HMAC using SHA-384 (Optional) -
HS512
HMAC using SHA-512 (Optional)
-
-
方法详细资料
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- 返回:
- an array containing the constants of this enum class, in the order they are declared
-
valueOf
Returns the enum constant of this class with the specified name. The string must match exactly an identifier used to declare an enum constant in this class. (Extraneous whitespace characters are not permitted.)- 参数:
name- 要返回的枚举常量的名称。- 返回:
- 返回带有指定名称的枚举常量
- 抛出:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- 如果参数为空值
-
get
-
getPreprocessedJsonStructure
-
getValue
不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值不使用@JsonValue @JsonDeserializer类里面要做相应的处理
- 指定者:
getValue在接口中cn.herodotus.stirrup.kernel.definition.enums.EnumValue<Integer>- 返回:
- Enum枚举值
-
getDescription
- 指定者:
getDescription在接口中cn.herodotus.stirrup.kernel.definition.enums.EnumDescription
-