| Constructor | Description |
|---|---|
Builder() |
| Modifier and Type | Method | Description |
|---|---|---|
JwkKeys.Builder |
addKey(Jwk key) |
Add a new JWK to this keys.
|
JwkKeys |
build() |
Build a new keys instance.
|
JwkKeys.Builder |
resource(Resource resource) |
Load keys from a resource (must point to JSON text content).
|
public JwkKeys build()
public JwkKeys.Builder addKey(Jwk key)
key - the JWK instancepublic JwkKeys.Builder resource(Resource resource)
resource - the resource with JSON data (file, classpath, URI etc.)java.lang.NullPointerException - in case the path is nullCopyright © 2018, Oracle and/or its affiliates. All Rights Reserved. Use is subject to license terms.