Package io.jans.as.model.jwk
Class JSONWebKeySet
java.lang.Object
io.jans.as.model.jwk.JSONWebKeySet
- Direct Known Subclasses:
WebKeysConfiguration
- Version:
- February 12, 2019
- Author:
- Javier Rojas Blum
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic JSONWebKeySet
fromJSONObject
(org.json.JSONObject jwksJSONObject) getKeys()
void
setKeys
(List<JSONWebKey> keys) org.json.JSONObject
static String
toPrettyJson
(org.json.JSONObject jsonObject) static String
toPrettyString
(org.json.JSONObject json) toString()
-
Constructor Details
-
JSONWebKeySet
public JSONWebKeySet()
-
-
Method Details
-
getKeys
-
setKeys
-
getKey
-
toJSONObject
public org.json.JSONObject toJSONObject() throws org.json.JSONException- Throws:
org.json.JSONException
-
toString
-
toPrettyString
-
toPrettyJson
public static String toPrettyJson(org.json.JSONObject jsonObject) throws com.fasterxml.jackson.core.JsonProcessingException - Throws:
com.fasterxml.jackson.core.JsonProcessingException
-
fromJSONObject
public static JSONWebKeySet fromJSONObject(org.json.JSONObject jwksJSONObject) throws org.json.JSONException - Throws:
org.json.JSONException
-