Interface JWEHeader

All Superinterfaces:
JOSEHeader

public interface JWEHeader extends JOSEHeader

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

Since:
1.5
Author:
Jeremy Kuhn
  • Method Details

    • getEncryptionAlgorithm

      String getEncryptionAlgorithm()

      Returns the encryption algorithm.

      .
      Returns:
      the encryption algorithm
    • getCompressionAlgorithm

      String getCompressionAlgorithm()

      Returns the compression algorithm.

      Returns:
      the compression algorithm or null
    • 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