Class JWEHeader

java.lang.Object
org.keycloak.jose.jwe.JWEHeader
All Implemented Interfaces:
Serializable, JOSEHeader

public class JWEHeader extends Object implements JOSEHeader
Author:
Marek Posolda
See Also:
  • Constructor Details

  • Method Details

    • getAlgorithm

      public String getAlgorithm()
    • getRawAlgorithm

      public String getRawAlgorithm()
      Description copied from interface: JOSEHeader
      Returns the algorithm used to sign or encrypt the JWT from the JOSE header.
      Specified by:
      getRawAlgorithm in interface JOSEHeader
      Returns:
      the algorithm from the JOSE header
    • getEncryptionAlgorithm

      public String getEncryptionAlgorithm()
    • getCompressionAlgorithm

      public String getCompressionAlgorithm()
    • getType

      public String getType()
    • getContentType

      public String getContentType()
    • getKeyId

      public String getKeyId()
      Specified by:
      getKeyId in interface JOSEHeader
    • getEphemeralPublicKey

      public ECPublicJWK getEphemeralPublicKey()
    • getAgreementPartyUInfo

      public String getAgreementPartyUInfo()
    • getAgreementPartyVInfo

      public String getAgreementPartyVInfo()
    • toString

      public String toString()
      Overrides:
      toString in class Object
    • toBuilder

      public JWEHeader.JWEHeaderBuilder toBuilder()
    • builder

      public static JWEHeader.JWEHeaderBuilder builder()