Package org.keycloak.util
Class JWKSUtils
java.lang.Object
org.keycloak.util.JWKSUtils
- Author:
- Marek Posolda
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionstatic StringcomputeThumbprint(JWK key) static StringcomputeThumbprint(JWK key, String hashAlg) static JWKgetKeyForUse(JSONWebKeySet keySet, JWK.Use requestedUse) getKeysForUse(JSONWebKeySet keySet, JWK.Use requestedUse) Deprecated.static KeyWrappergetKeyWrapper(JWK jwk) static KeyWrappergetKeyWrapper(JWK jwk, boolean skipPublicKey) static PublicKeysWrappergetKeyWrappersForUse(JSONWebKeySet keySet, JWK.Use requestedUse) static PublicKeysWrappergetKeyWrappersForUse(JSONWebKeySet keySet, JWK.Use requestedUse, boolean useRequestedUseWhenNull)
-
Constructor Details
-
JWKSUtils
public JWKSUtils()
-
-
Method Details
-
getKeysForUse
@Deprecated public static Map<String,PublicKey> getKeysForUse(JSONWebKeySet keySet, JWK.Use requestedUse) Deprecated. -
getKeyWrappersForUse
-
getKeyWrappersForUse
public static PublicKeysWrapper getKeyWrappersForUse(JSONWebKeySet keySet, JWK.Use requestedUse, boolean useRequestedUseWhenNull) -
getKeyForUse
-
getKeyWrapper
-
getKeyWrapper
-
computeThumbprint
-
computeThumbprint
-
getKeyWrappersForUse(JSONWebKeySet, JWK.Use)