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