public class JwtHeader extends JwtClaims
| Modifier and Type | Field and Description |
|---|---|
static String |
ALG |
static String |
KID |
static String |
TYP |
map| Constructor and Description |
|---|
JwtHeader() |
JwtHeader(Map<String,Object> map) |
| Modifier and Type | Method and Description |
|---|---|
String |
getAlgorithm() |
String |
getKid() |
String |
getType() |
JwtHeader |
set(String key,
Object value) |
JwtHeader |
setAlgorithm(String value) |
JwtHeader |
setArray(String key,
Object... values) |
JwtHeader |
setKid(String value) |
JwtHeader |
setNumericDate(String key,
Date value) |
JwtHeader |
setNumericDate(String key,
long timeInMs) |
JwtHeader |
setType(String value) |
getDate, getNumericDate, putclear, containsKey, containsValue, entrySet, get, isEmpty, keySet, putAll, remove, size, valuesclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitcompute, computeIfAbsent, computeIfPresent, equals, forEach, getOrDefault, hashCode, merge, putIfAbsent, remove, replace, replace, replaceAllpublic static final String TYP
public static final String ALG
public static final String KID
public JwtHeader setNumericDate(String key, Date value)
setNumericDate in class JwtClaimspublic JwtHeader setNumericDate(String key, long timeInMs)
setNumericDate in class JwtClaimspublic String getType()
public String getAlgorithm()
public String getKid()
Copyright © 2021. All rights reserved.