Uses of Class
edu.uiuc.ncsa.security.util.jwk.JSONWebKey
-
Packages that use JSONWebKey Package Description edu.uiuc.ncsa.security.util.jwk Support for JSON web keys. -
-
Uses of JSONWebKey in edu.uiuc.ncsa.security.util.jwk
Methods in edu.uiuc.ncsa.security.util.jwk that return JSONWebKey Modifier and Type Method Description protected JSONWebKey
JSONWebKey. clone()
static JSONWebKey
JSONWebKeyUtil. create(KeyPair keyPair)
Create a newJSONWebKey
from a key pair.JSONWebKey
JWKUtil2. createECKey()
Create a webkey using the given named curve.JSONWebKey
JWKUtil2. createECKey(String curveName, String alg)
JSONWebKey
JWKUtil2. createRSAKey()
Create and RSA key with the default bit size (2048) and RS256 algorithm.JSONWebKey
JWKUtil2. createRSAKey(int length, String alg)
JSONWebKey
JSONWebKeys. getDefault()
static JSONWebKey
JSONWebKeyUtil. getJsonWebKey(String rawJSON)
Takes the serialized form of a single JSON web key and returns the object.JSONWebKey
JWKUtil2. getJsonWebKey(String rawJSON)
JSONWebKey
JWKUtil2. getJsonWebKey(net.sf.json.JSONObject json)
static JSONWebKey
JSONWebKeyUtil. makePublic(JSONWebKey key)
JSONWebKey
JWKUtil2. makePublic(JSONWebKey key)
Methods in edu.uiuc.ncsa.security.util.jwk with parameters of type JSONWebKey Modifier and Type Method Description protected static net.sf.json.JSONObject
JWKUtil2. initToJSON(JSONWebKey webKey)
This creats a JSON object from theJSONWebKey
that serializes it in a spec compliant way, hence can be turned back into a JOSEJWK
.static JSONWebKey
JSONWebKeyUtil. makePublic(JSONWebKey key)
JSONWebKey
JWKUtil2. makePublic(JSONWebKey key)
void
JSONWebKeys. put(JSONWebKey webKey)
Add a key to this set.static net.sf.json.JSONObject
JSONWebKeyUtil. toJSON(JSONWebKey webKey)
net.sf.json.JSONObject
JWKUtil2. toJSON(JSONWebKey webKey)
protected net.sf.json.JSONObject
JWKUtil2. toJSONEC(JSONWebKey webKey)
protected net.sf.json.JSONObject
JWKUtil2. toJSONRSA(JSONWebKey webKey)
-