Enum Class SignatureJwsAlgorithm
- All Implemented Interfaces:
cn.herodotus.engine.assistant.definition.enums.BaseUiEnum<Integer>,cn.herodotus.engine.assistant.definition.enums.EnumDescription,cn.herodotus.engine.assistant.definition.enums.EnumValue<Integer>,Serializable,Comparable<SignatureJwsAlgorithm>,Constable
public enum SignatureJwsAlgorithm
extends Enum<SignatureJwsAlgorithm>
implements cn.herodotus.engine.assistant.definition.enums.BaseUiEnum<Integer>
Description: OAuth2 Signature
由JSON Web算法(JWA)规范定义的加密算法的枚举,并由JSON Web签名(JWS)用于对JWS受保护标头和JWS有效载荷的内容进行数字签名。
- Author:
- : gengwei.zheng
- Date:
- : 2022/3/2 16:15
-
Nested Class Summary
Nested classes/interfaces inherited from class java.lang.Enum
Enum.EnumDesc<E extends Enum<E>> -
Enum Constant Summary
Enum ConstantsEnum ConstantDescriptionECDSA using P-256 and SHA-256 (Recommended+)ECDSA using P-384 and SHA-384 (Optional)ECDSA using P-521 and 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) -
Method Summary
Modifier and TypeMethodDescriptionstatic SignatureJwsAlgorithmgetValue()不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值static SignatureJwsAlgorithmReturns the enum constant of this class with the specified name.static SignatureJwsAlgorithm[]values()Returns an array containing the constants of this enum class, in the order they are declared.
-
Enum Constant Details
-
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)
-
-
Method Details
-
values
Returns an array containing the constants of this enum class, in the order they are declared.- Returns:
- 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.)- Parameters:
name- the name of the enum constant to be returned.- Returns:
- the enum constant with the specified name
- Throws:
IllegalArgumentException- if this enum class has no constant with the specified nameNullPointerException- if the argument is null
-
get
-
getPreprocessedJsonStructure
-
getValue
不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值不使用@JsonValue @JsonDeserializer类里面要做相应的处理
- Specified by:
getValuein interfacecn.herodotus.engine.assistant.definition.enums.EnumValue<Integer>- Returns:
- Enum枚举值
-
getDescription
- Specified by:
getDescriptionin interfacecn.herodotus.engine.assistant.definition.enums.EnumDescription
-