public class LTI13KeySetUtil extends Object
| Constructor and Description |
|---|
LTI13KeySetUtil() |
| Modifier and Type | Method and Description |
|---|---|
static RSAPublicKey |
getKeyFromKeySet(String kid,
String url) |
static RSAPublicKey |
getKeyFromKeySetString(String kid,
String json) |
static String |
getKeySetJSON(Map<String,RSAPublicKey> keys) |
static String |
getKeySetJSON(RSAPublicKey key) |
static String |
getKeySetJSON(String kid,
RSAPublicKey key) |
static String |
getPublicKID(Key key) |
public static String getKeySetJSON(Map<String,RSAPublicKey> keys) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static String getKeySetJSON(String kid, RSAPublicKey key) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static String getKeySetJSON(RSAPublicKey key) throws NoSuchAlgorithmException
NoSuchAlgorithmExceptionpublic static RSAPublicKey getKeyFromKeySet(String kid, String url) throws ParseException, com.nimbusds.jose.JOSEException, MalformedURLException, IOException
ParseExceptioncom.nimbusds.jose.JOSEExceptionMalformedURLExceptionIOExceptionpublic static RSAPublicKey getKeyFromKeySetString(String kid, String json) throws ParseException, com.nimbusds.jose.JOSEException
ParseExceptioncom.nimbusds.jose.JOSEExceptionCopyright 2015- Charles R. Severance and licensed CC-BY Attribution 4.0