Package org.keycloak.jose.jws
Class JWSHeader
- java.lang.Object
-
- org.keycloak.jose.jws.JWSHeader
-
- All Implemented Interfaces:
Serializable,JOSEHeader
public class JWSHeader extends Object implements JOSEHeader
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
- See Also:
- Serialized Form
-
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description AlgorithmgetAlgorithm()StringgetContentType()StringgetKeyId()StringgetRawAlgorithm()Returns the algorithm used to sign or encrypt the JWT from the JOSE header.StringgetType()StringtoString()
-
-
-
Method Detail
-
getAlgorithm
public Algorithm getAlgorithm()
-
getRawAlgorithm
public String getRawAlgorithm()
Description copied from interface:JOSEHeaderReturns the algorithm used to sign or encrypt the JWT from the JOSE header.- Specified by:
getRawAlgorithmin interfaceJOSEHeader- Returns:
- the algorithm from the JOSE header
-
getType
public String getType()
-
getContentType
public String getContentType()
-
getKeyId
public String getKeyId()
- Specified by:
getKeyIdin interfaceJOSEHeader
-
-