public abstract class AbstractJwk<K extends Key> extends Object implements Jwk<K>, ParameterReadable, Nameable
| Modifier and Type | Field and Description |
|---|---|
protected JwkContext<K> |
context |
static String |
IMMUTABLE_MSG |
static Parameter<String> |
KID |
| Modifier and Type | Method and Description |
|---|---|
void |
clear() |
boolean |
containsKey(Object key) |
boolean |
containsValue(Object value) |
Set<Map.Entry<String,Object>> |
entrySet() |
protected abstract boolean |
equals(Jwk<?> jwk) |
boolean |
equals(Object obj) |
Object |
get(Object key) |
<T> T |
get(Parameter<T> param) |
String |
getAlgorithm() |
String |
getId() |
String |
getName() |
Set<KeyOperation> |
getOperations() |
String |
getType() |
int |
hashCode() |
boolean |
isEmpty() |
Set<String> |
keySet() |
Object |
put(String s,
Object o) |
void |
putAll(Map<? extends String,?> m) |
Object |
remove(Object o) |
int |
size() |
JwkThumbprint |
thumbprint() |
JwkThumbprint |
thumbprint(HashAlgorithm alg) |
K |
toKey() |
String |
toString() |
Collection<Object> |
values() |
public static final String IMMUTABLE_MSG
protected final JwkContext<K extends Key> context
public JwkThumbprint thumbprint()
thumbprint in interface Jwk<K extends Key>public JwkThumbprint thumbprint(HashAlgorithm alg)
thumbprint in interface Jwk<K extends Key>public Set<KeyOperation> getOperations()
getOperations in interface Jwk<K extends Key>public String getAlgorithm()
getAlgorithm in interface Jwk<K extends Key>public String getId()
getId in interface Identifiablepublic boolean containsKey(Object key)
containsKey in interface Map<String,Object>public boolean containsValue(Object value)
containsValue in interface Map<String,Object>public <T> T get(Parameter<T> param)
get in interface ParameterReadablepublic final int hashCode()
public final boolean equals(Object obj)
protected abstract boolean equals(Jwk<?> jwk)
Copyright © 2014–2024 jsonwebtoken.io. All rights reserved.