Interface JWSHeader

All Superinterfaces:
JOSEHeader

public interface JWSHeader extends JOSEHeader

JSON Web Signature JOSE header as defined by RFC7516 Section 4.

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • isBase64EncodePayload

      Boolean isBase64EncodePayload()

      Determines whether the payload should be encoded as Base64URL or processed and serialized unencoded as defined by RFC7797 Section 5.

      Returns:
      true or null if the payload must be encoded as Base64URL, false otherwise
    • hashCode

      int hashCode()
      Specified by:
      hashCode in interface JOSEHeader
      Overrides:
      hashCode in class Object
    • equals

      boolean equals(Object obj)
      Specified by:
      equals in interface JOSEHeader
      Overrides:
      equals in class Object