Class JWSHmacValidator

java.lang.Object
org.webpki.jose.jws.JWSValidator
org.webpki.jose.jws.JWSHmacValidator

public class JWSHmacValidator extends JWSValidator
JWS HMAC signature validator
  • 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