Interface HMACComputer


@ThreadSafe public interface HMACComputer
Interface exposed by the Connect2id server for computing Hash-based Message Authentication Codes (HMAC).
  • Method Summary

    Modifier and Type
    Method
    Description
    byte[]
    computeHMACSHA256(byte[] input)
    Computes the SHA-256 based HMAC for the specified input.
  • Method Details

    • computeHMACSHA256

      byte[] computeHMACSHA256(byte[] input)
      Computes the SHA-256 based HMAC for the specified input. Uses the secret key with JWK ID "hmac" configured for the OpenID Provider / Authorisation Server.
      Parameters:
      input - The input.
      Returns:
      The HMAC SHA-256.