public class HMACProvider extends Object
Constructor and Description |
---|
HMACProvider() |
Modifier and Type | Method and Description |
---|---|
static String |
getJavaAlgorithm(Algorithm alg) |
static Mac |
getMAC(Algorithm alg) |
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) |
static boolean |
verify(JWSInput input,
SecretKey key) |
Copyright © 2015 JBoss by Red Hat. All rights reserved.