Top Fields Constructors Methods
org.keycloak.jose.jws

public Class JWSHeader

extends Object
implements JOSEHeader
Class Inheritance
All Implemented Interfaces
org.keycloak.jose.JOSEHeader, java.io.Serializable
Annotations
@JsonIgnoreProperties
ignoreUnknown:true
Imports
com.fasterxml.jackson.annotation.JsonIgnore, .JsonIgnoreProperties, .JsonInclude, .JsonProperty, com.fasterxml.jackson.databind.ObjectMapper, org.keycloak.jose.JOSEHeader, org.keycloak.jose.jwk.JWK, java.io.IOException

Author
Bill Burke
Version
$Revision: 1 $

Field Summary

Modifier and TypeField and Description
private Algorithm
algorithm

Deprecated as a consequence of Algorithm being deprecated.
private String
private JWK
private String
private static final ObjectMapper
private String

Constructor Summary

AccessConstructor and Description
public
public
JWSHeader(Algorithm algorithm, String type, String contentType)

Deprecated as a consequence of Algorithm being deprecated.
public
JWSHeader(Algorithm algorithm, String type, String keyId, JWK key)

Deprecated as a consequence of Algorithm being deprecated.

Method Summary

Modifier and TypeMethod and Description
public Algorithm
getAlgorithm()

Deprecated as a consequence of Algorithm being deprecated.
public String
public JWK
public String
public String
getRawAlgorithm()

Implements org.keycloak.jose.JOSEHeader.getRawAlgorithm.

Returns the algorithm used to sign or encrypt the JWT from the JOSE header.
public String
public String
toString()

Overrides java.lang.Object.toString.

Returns a string representation of the object.
Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAllwaitwaitwait

Field Detail

algorithmback to summary
private Algorithm algorithm

Deprecated

as a consequence of Algorithm being deprecated. See corresponding docs for further information.

Annotations
@JsonProperty:alg
contentTypeback to summary
private String contentType
Annotations
@JsonProperty:cty
keyback to summary
private JWK key
Annotations
@JsonProperty:jwk
keyIdback to summary
private String keyId
Annotations
@JsonProperty:kid
mapperback to summary
private static final ObjectMapper mapper
typeback to summary
private String type
Annotations
@JsonProperty:typ

Constructor Detail

JWSHeaderback to summary
public JWSHeader()
JWSHeaderback to summary
public JWSHeader(Algorithm algorithm, String type, String contentType)

Deprecated

as a consequence of Algorithm being deprecated. See corresponding docs for further information.

JWSHeaderback to summary
public JWSHeader(Algorithm algorithm, String type, String keyId, JWK key)

Deprecated

as a consequence of Algorithm being deprecated. See corresponding docs for further information.

Method Detail

getAlgorithmback to summary
public Algorithm getAlgorithm()

Deprecated

as a consequence of Algorithm being deprecated. See corresponding docs for further information.

getContentTypeback to summary
public String getContentType()
getKeyback to summary
public JWK getKey()
getKeyIdback to summary
public String getKeyId()

Implements org.keycloak.jose.JOSEHeader.getKeyId.

getRawAlgorithmback to summary
public String getRawAlgorithm()

Implements org.keycloak.jose.JOSEHeader.getRawAlgorithm.

Doc from org.keycloak.jose.JOSEHeader.getRawAlgorithm.

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

Returns:String

the algorithm from the JOSE header

Annotations
@JsonIgnore
@Override
getTypeback to summary
public String getType()
toStringback to summary
public String toString()

Overrides java.lang.Object.toString.

Doc from java.lang.Object.toString.

Returns a string representation of the object.

Returns:String

a string representation of the object.