Package org.keycloak.jose.jws.crypto
Class HMACProvider
- java.lang.Object
-
- org.keycloak.jose.jws.crypto.HMACProvider
-
- All Implemented Interfaces:
SignatureProvider
public class HMACProvider extends Object implements SignatureProvider
- Version:
- $Revision: 1 $
- Author:
- Bill Burke
-
-
Constructor Summary
Constructors Constructor Description HMACProvider()
-
Method Summary
All Methods Static Methods Instance Methods Concrete Methods Modifier and Type Method Description static byte[]
sign(byte[] data, Algorithm algorithm, byte[] sharedSecret)
static byte[]
sign(byte[] data, Algorithm algorithm, SecretKey key)
static boolean
verify(JWSInput input, byte[] sharedSecret)
boolean
verify(JWSInput input, String key)
static boolean
verify(JWSInput input, SecretKey key)
-