Package io.jans.as.model.jwk
Class JSONWebKeySet
- java.lang.Object
-
- io.jans.as.model.jwk.JSONWebKeySet
-
- Direct Known Subclasses:
WebKeysConfiguration
public class JSONWebKeySet extends Object
- Version:
- February 12, 2019
- Author:
- Javier Rojas Blum
-
-
Constructor Summary
Constructors Constructor Description JSONWebKeySet()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static JSONWebKeySetfromJSONObject(org.json.JSONObject jwksJSONObject)JSONWebKeygetKey(String keyId)List<JSONWebKey>getKeys()voidsetKeys(List<JSONWebKey> keys)org.json.JSONObjecttoJSONObject()StringtoString()
-
-
-
Method Detail
-
getKeys
public List<JSONWebKey> getKeys()
-
setKeys
public void setKeys(List<JSONWebKey> keys)
-
getKey
public JSONWebKey getKey(String keyId)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
fromJSONObject
public static JSONWebKeySet fromJSONObject(org.json.JSONObject jwksJSONObject) throws org.json.JSONException
- Throws:
org.json.JSONException
-
-