Package org.keycloak.util
Class JWKSUtils
java.lang.Object
org.keycloak.util.JWKSUtils
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
computeThumbprint
(JWK key) static String
computeThumbprint
(JWK key, String hashAlg) static JWK
getKeyForUse
(JSONWebKeySet keySet, JWK.Use requestedUse) getKeysForUse
(JSONWebKeySet keySet, JWK.Use requestedUse) Deprecated.static KeyWrapper
getKeyWrapper
(JWK jwk) static PublicKeysWrapper
getKeyWrappersForUse
(JSONWebKeySet keySet, JWK.Use requestedUse) static PublicKeysWrapper
getKeyWrappersForUse
(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
-
computeThumbprint
-
computeThumbprint
-
getKeyWrappersForUse(JSONWebKeySet, JWK.Use)