java.lang.Object
java.lang.Enum<HttpSignHeader>
io.helidon.security.providers.httpsign.HttpSignHeader
All Implemented Interfaces:
Serializable, Comparable<HttpSignHeader>, Constable

public enum HttpSignHeader extends Enum<HttpSignHeader>
Headers supported by HTTP Signature.
  • Enum Constant Details

    • SIGNATURE

      public static final HttpSignHeader SIGNATURE
      Creates (or validates) a "Signature" header.
    • AUTHORIZATION

      public static final HttpSignHeader AUTHORIZATION
      Creates (or validates) an "Authorization" header, that contains "Signature" as the beginning of its content (the rest of the header is the same as for SIGNATURE.
    • CUSTOM

      public static final HttpSignHeader CUSTOM
      Custom provided using a TokenHandler.
  • Method Details

    • values

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

      public static HttpSignHeader 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.)
      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 name
      NullPointerException - if the argument is null