63 String s = CharStreams.toString(
new InputStreamReader(
location.getInputStream(), Charsets.UTF_8));
67 }
catch (IOException e) {
68 throw new IllegalArgumentException(
"Key Set resource could not be read: " +
location);
69 }
catch (ParseException e) {
70 throw new IllegalArgumentException(
"Key Set resource could not be parsed: " +
location); }
73 throw new IllegalArgumentException(
"Key Set resource could not be read: " +
location);
77 throw new IllegalArgumentException(
"Key store must be initialized with at least one of a jwkSet or a location.");
JWKSet jwkSet
Definition: JWKSetKeyStore.java:41
Resource location
Definition: JWKSetKeyStore.java:43