Package org.webpki.jose.jws
Class JWSHmacValidator
java.lang.Object
org.webpki.jose.jws.JWSValidator
org.webpki.jose.jws.JWSHmacValidator
JWS HMAC signature validator
-
Constructor Summary
-
Method Summary
Methods inherited from class org.webpki.jose.jws.JWSValidator
setProvider, validate, validate
-
Constructor Details
-
JWSHmacValidator
public JWSHmacValidator(byte[] secretKey) Initialize validator. Note that a validator object may be used any number of times (assuming that the same parameters are valid). It is also thread-safe.- Parameters:
secretKey
- The anticipated secret key
-