All Downloads are FREE. Search and download functionalities are using the official Maven repository.

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();
}




© 2015 - 2024 Weber Informatics LLC | Privacy Policy