public final class JwkKeys extends Object
JwkKeys keys = JwkKeys.builder()
.resource("jwk_data.json")
.build();
Optional<Jwk> key = keys
.forKeyId("cc34c0a0-bd5a-4a3c-a50d-a2a7db7643df");
| Modifier and Type | Class and Description |
|---|---|
static class |
JwkKeys.Builder
Builder of
JwkKeys. |
| Modifier and Type | Method and Description |
|---|---|
static JwkKeys.Builder |
builder()
Create a new builder for this class.
|
Optional<Jwk> |
forKeyId(String keyId)
Get a JWK for defined key id if present.
|
List<Jwk> |
keys()
List of keys in this instance.
|
public static JwkKeys.Builder builder()
public Optional<Jwk> forKeyId(String keyId)
keyId - keyId of the key to obtain from this keysCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.