org.keycloak.jose.JOSEHeader Maven / Gradle / Ivy
The newest version!
package org.keycloak.jose;
import java.io.Serializable;
import org.keycloak.jose.jws.Algorithm;
/**
* This interface represents a JOSE header.
*
* @author Pedro Igor
*/
public interface JOSEHeader extends Serializable {
/**
* Returns the algorithm used to sign or encrypt the JWT from the JOSE header.
*
* @return the algorithm from the JOSE header
*/
String getRawAlgorithm();
String getKeyId();
}