Enum Class SignatureJwsAlgorithm

java.lang.Object
java.lang.Enum<SignatureJwsAlgorithm>
cn.herodotus.engine.oauth2.core.enums.SignatureJwsAlgorithm
所有已实现的接口:
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有效载荷的内容进行数字签名。

作者:
: gengwei.zheng
Date:
: 2022/3/2 16:15
  • 枚举常量详细资料

  • 方法详细资料

    • values

      public static SignatureJwsAlgorithm[] 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

      public static SignatureJwsAlgorithm valueOf(String name)
      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 name
      NullPointerException - 如果参数为空值
    • get

      public static SignatureJwsAlgorithm get(Integer index)
    • getPreprocessedJsonStructure

      public static List<Map<String,Object>> getPreprocessedJsonStructure()
    • getValue

      public Integer getValue()
      不加@JsonValue,转换的时候转换出完整的对象。 加了@JsonValue,只会显示相应的属性的值

      不使用@JsonValue @JsonDeserializer类里面要做相应的处理

      指定者:
      getValue 在接口中 cn.herodotus.engine.assistant.definition.enums.EnumValue<Integer>
      返回:
      Enum枚举值
    • getDescription

      public String getDescription()
      指定者:
      getDescription 在接口中 cn.herodotus.engine.assistant.definition.enums.EnumDescription