Interface HMACComputer
Interface exposed by the Connect2id server for computing Hash-based Message
Authentication Codes (HMAC).
-
Method Summary
Modifier and TypeMethodDescriptionbyte[]
computeHMACSHA256
(byte[] input) Computes the SHA-256 based HMAC for the specified input.
-
Method Details
-
computeHMACSHA256
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.
-