Package | Description |
---|---|
io.fusionauth.jwks | |
io.fusionauth.jwks.domain | |
io.fusionauth.jwt |
Modifier and Type | Method and Description |
---|---|
JSONWebKey |
JSONWebKeyBuilder.build(Certificate certificate)
Build a JSON Web Key from the provided X.509 Certificate.
|
JSONWebKey |
JSONWebKeyBuilder.build(PrivateKey privateKey)
Build a JSON Web Key from the provided PrivateKey.
|
JSONWebKey |
JSONWebKeyBuilder.build(PublicKey publicKey)
Build a JSON Web Key from the provided PublicKey.
|
JSONWebKey |
JSONWebKeyBuilder.build(String encodedPEM)
Build a JSON Web Key from the provided encoded PEM.
|
Modifier and Type | Method and Description |
---|---|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromIssuer(String issuer)
Retrieve a list of JSON Web Keys from the JWK endpoint using the OIDC issuer as a starting point.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromIssuer(String issuer,
java.util.function.Consumer<HttpURLConnection> consumer)
Retrieve a list of JSON Web Keys from the JWK endpoint using the OIDC issuer as a starting point.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromJWKS(HttpURLConnection httpURLConnection)
Retrieve JSON Web Keys from a JSON Web Key Set (JWKS) endpoint.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromJWKS(String endpoint)
Retrieve JSON Web Keys from a JSON Web Key Set (JWKS) endpoint.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromJWKS(String endpoint,
java.util.function.Consumer<HttpURLConnection> consumer)
Retrieve JSON Web Keys from a JSON Web Key Set (JWKS) endpoint.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromWellKnownConfiguration(HttpURLConnection httpURLConnection)
Retrieve JSON Web Keys from an OpenID Connect well known discovery endpoint.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromWellKnownConfiguration(String endpoint)
Retrieve JSON Web Keys from an OpenID Connect well known discovery endpoint.
|
static List<JSONWebKey> |
JSONWebKeySetHelper.retrieveKeysFromWellKnownConfiguration(String endpoint,
java.util.function.Consumer<HttpURLConnection> consumer)
Retrieve JSON Web Keys from an OpenID Connect well known discovery endpoint.
|
Modifier and Type | Method and Description |
---|---|
PublicKey |
JSONWebKeyParser.parse(JSONWebKey key)
Parse a JSON Web Key and extract the the public key.
|
Modifier and Type | Method and Description |
---|---|
JSONWebKey |
JSONWebKey.add(String key,
Object value) |
static JSONWebKey |
JSONWebKey.build(Certificate certificate)
Build a JSON Web Key from a certificate
|
static JSONWebKey |
JSONWebKey.build(PrivateKey privateKey)
Build a JSON Web Key from a private key
|
static JSONWebKey |
JSONWebKey.build(PublicKey publicKey)
Build a JSON Web Key from a public key
|
static JSONWebKey |
JSONWebKey.build(String encodedPEM)
Build a JSON Web Key from an encoded PEM.
|
Modifier and Type | Method and Description |
---|---|
static PublicKey |
JSONWebKey.parse(JSONWebKey key)
Build a public key from a JSON Web Key containing a public RSA or EC key.
|
Modifier and Type | Method and Description |
---|---|
static String |
JWTUtils.generateJWS_kid_S256(JSONWebKey key)
Generate the JWK SHA-256 Thumbprint as per RFC 7638.
|
static String |
JWTUtils.generateJWS_kid(JSONWebKey key)
Generate the JWK SHA-1 Thumbprint as per RFC 7638.
|
static String |
JWTUtils.generateJWS_kid(String algorithm,
JSONWebKey key)
Generate the JWK Thumbprint as per RFC 7638.
|
Copyright © 2021. All rights reserved.