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 java.lang.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(java.lang.String keyId)
java.util.List<JSONWebKey>
getKeys()
void
setKeys(java.util.List<JSONWebKey> keys)
org.json.JSONObject
toJSONObject()
java.lang.String
toString()
-
-
-
Method Detail
-
getKeys
public java.util.List<JSONWebKey> getKeys()
-
setKeys
public void setKeys(java.util.List<JSONWebKey> keys)
-
getKey
public JSONWebKey getKey(java.lang.String keyId)
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException
- Throws:
org.json.JSONException
-
toString
public java.lang.String toString()
- Overrides:
toString
in classjava.lang.Object
-
fromJSONObject
public static JSONWebKeySet fromJSONObject(org.json.JSONObject jwksJSONObject) throws org.json.JSONException
- Throws:
org.json.JSONException
-
-