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 JSONWebKeySet
fromJSONObject(org.json.JSONObject jwksJSONObject)
JSONWebKey
getKey(String keyId)
List<JSONWebKey>
getKeys()
void
setKeys(List<JSONWebKey> keys)
org.json.JSONObject
toJSONObject()
String
toString()
-
-
-
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
-
-