Package org.keycloak.jose.jws.crypto
Class HashUtils
java.lang.Object
org.keycloak.jose.jws.crypto.HashUtils
- Author:
- Marek Posolda
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionstatic String
accessTokenHash
(String jwtAlgorithmName, String input) static String
accessTokenHash
(String jwtAlgorithmName, String input, boolean full) static String
accessTokenHash
(String jwtAlgorithmName, String curve, String input) static String
accessTokenHash
(String jwtAlgorithmName, String curve, String input, boolean full) static String
encodeHashToOIDC
(byte[] hash) static String
encodeHashToOIDC
(byte[] hash, boolean full) static byte[]
static String
sha256UrlEncodedHash
(String input, Charset charset)
-
Constructor Details
-
HashUtils
public HashUtils()
-
-
Method Details
-
accessTokenHash
-
accessTokenHash
-
accessTokenHash
-
accessTokenHash
-
hash
-
encodeHashToOIDC
-
encodeHashToOIDC
-
sha256UrlEncodedHash
-