| Modifier and Type | Method and 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.)NullPointerException - in case the path is nullCopyright © 2018–2019 Oracle and/or its affiliates. All rights reserved. Use is subject to license terms.