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