@Test public void testGoogleJwkDocument() { Optional<Jwk> key = googleKeys .forKeyId("eb29843dd7334cf989e1db6a2b0c6e07a10a9cd3"); assertThat(key.isPresent(), is(true)); Jwk jwkKey = key.get(); }
public Optional<Jwk> forKeyId(String keyId) { return Optional.ofNullable(keyMap.get(keyId)); }
JwkKeys { public Optional<Jwk> forKeyId(String keyId) { return Optional.ofNullable(keyMap.get(keyId)); } }
JwkKeys { public Optional<Jwk> forKeyId(String keyId) { return Optional.ofNullable(keyMap.get(keyId)); } private  JwkKeys(Builder builder); }
JwkKeys { public Optional<Jwk> forKeyId(String keyId) { return Optional.ofNullable(keyMap.get(keyId)); } private  JwkKeys(Builder builder); static Builder builder(); static JwkKeys create(JsonObject json); Optional<Jwk> forKeyId(String keyId); List<Jwk> keys(); }
JwkKeys { public Optional<Jwk> forKeyId(String keyId) { return Optional.ofNullable(keyMap.get(keyId)); } private  JwkKeys(Builder builder); static Builder builder(); static JwkKeys create(JsonObject json); Optional<Jwk> forKeyId(String keyId); List<Jwk> keys();  }