Class JSONHmacVerifier

java.lang.Object
org.webpki.json.JSONVerifier
org.webpki.json.JSONHmacVerifier

public class JSONHmacVerifier extends JSONVerifier
Initiator object for HMAC signature verifiers.
  • Constructor Details

    • JSONHmacVerifier

      public JSONHmacVerifier(HmacVerifierInterface verifier)
      Custom crypto verifier for symmetric keys. Note that you can access the received KeyIi from JSONSignatureDecoder.
      Parameters:
      verifier - Handle to implementation
    • JSONHmacVerifier

      public JSONHmacVerifier(byte[] rawKey)
      JCE based verifier for symmetric keys. Note that you can access the received KeyId from JSONSignatureDecoder.
      Parameters:
      rawKey - Key