Class JsonWebKeys
- java.lang.Object
-
- org.apache.cxf.jaxrs.json.basic.JsonMapObject
-
- org.apache.cxf.rs.security.jose.jwk.JsonWebKeys
-
- All Implemented Interfaces:
Serializable
public class JsonWebKeys extends JsonMapObject
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description static StringKEYS_PROPERTY
-
Constructor Summary
Constructors Constructor Description JsonWebKeys()JsonWebKeys(List<JsonWebKey> keys)JsonWebKeys(JsonWebKey key)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description List<JsonWebKey>getEllipticKeys()JsonWebKeygetKey(String kid)Map<String,JsonWebKey>getKeyIdMap()Map<KeyOperation,List<JsonWebKey>>getKeyOperationMap()List<JsonWebKey>getKeys()List<JsonWebKey>getKeys(String keyType)Map<KeyType,List<JsonWebKey>>getKeyTypeMap()List<JsonWebKey>getRsaKeys()List<JsonWebKey>getSecretKeys()voidsetKey(JsonWebKey key)voidsetKeys(List<JsonWebKey> keys)-
Methods inherited from class org.apache.cxf.jaxrs.json.basic.JsonMapObject
asMap, containsProperty, equals, getBooleanProperty, getIntegerProperty, getJsonMapProperty, getListMapProperty, getListStringProperty, getLongProperty, getMapProperty, getProperty, getStringProperty, getUpdateCount, hashCode, removeProperty, setProperty, size
-
-
-
-
Field Detail
-
KEYS_PROPERTY
public static final String KEYS_PROPERTY
- See Also:
- Constant Field Values
-
-
Constructor Detail
-
JsonWebKeys
public JsonWebKeys()
-
JsonWebKeys
public JsonWebKeys(JsonWebKey key)
-
JsonWebKeys
public JsonWebKeys(List<JsonWebKey> keys)
-
-
Method Detail
-
getKeys
public List<JsonWebKey> getKeys()
-
setKey
public final void setKey(JsonWebKey key)
-
setKeys
public final void setKeys(List<JsonWebKey> keys)
-
getKeyIdMap
public Map<String,JsonWebKey> getKeyIdMap()
-
getKey
public JsonWebKey getKey(String kid)
-
getKeyTypeMap
public Map<KeyType,List<JsonWebKey>> getKeyTypeMap()
-
getKeyOperationMap
public Map<KeyOperation,List<JsonWebKey>> getKeyOperationMap()
-
getKeys
public List<JsonWebKey> getKeys(String keyType)
-
getRsaKeys
public List<JsonWebKey> getRsaKeys()
-
getEllipticKeys
public List<JsonWebKey> getEllipticKeys()
-
getSecretKeys
public List<JsonWebKey> getSecretKeys()
-
-