Class HashUtils

java.lang.Object
org.keycloak.jose.jws.crypto.HashUtils

public class HashUtils extends Object
Author:
Marek Posolda
  • Constructor Details

    • HashUtils

      public HashUtils()
  • Method Details

    • accessTokenHash

      public static String accessTokenHash(String jwtAlgorithmName, String input, boolean full)
    • accessTokenHash

      public static String accessTokenHash(String jwtAlgorithmName, String curve, String input, boolean full)
    • accessTokenHash

      public static String accessTokenHash(String jwtAlgorithmName, String input)
    • accessTokenHash

      public static String accessTokenHash(String jwtAlgorithmName, String curve, String input)
    • hash

      public static byte[] hash(String javaAlgorithmName, byte[] inputBytes)
    • encodeHashToOIDC

      public static String encodeHashToOIDC(byte[] hash)
    • encodeHashToOIDC

      public static String encodeHashToOIDC(byte[] hash, boolean full)