public interface Header
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getAlgorithm()
Getter for the Algorithm "alg" claim defined in the JWT's Header.
|
java.lang.String |
getContentType()
Getter for the Content Type "cty" claim defined in the JWT's Header.
|
Claim |
getHeaderClaim(java.lang.String name)
Get a Private Claim given it's name.
|
java.lang.String |
getKeyId()
Get the value of the "kid" claim, or null if it's not available.
|
java.lang.String |
getType()
Getter for the Type "typ" claim defined in the JWT's Header.
|
java.lang.String getAlgorithm()
java.lang.String getType()
java.lang.String getContentType()
java.lang.String getKeyId()
Claim getHeaderClaim(java.lang.String name)
name
- the name of the Claim to retrieve.