org.keycloak.jose

## Interface JOSEHeader

- All Superinterfaces:
    Serializable
  All Known Implementing Classes:
    JWEHeader, JWSHeader

      public interface JOSEHeader
      extends Serializable

  This interface represents a JOSE header.
  Author:
    Pedro Igor

- - ### Method Summary

    All Methods Instance Methods Abstract Methods
    Modifier and Type | Method and Description
    --- | ---
    `String` | `getKeyId()`
    `String` | `getRawAlgorithm()` Returns the algorithm used to sign or encrypt the JWT from the JOSE header.

- - ### Method Detail

    - #### getRawAlgorithm

          String getRawAlgorithm()

      Returns the algorithm used to sign or encrypt the JWT from the JOSE header.
      Returns:
        the algorithm from the JOSE header

    - #### getKeyId

          String getKeyId()

Copyright © 2021 JBoss by Red Hat. All rights reserved.