code: @Deprecated
      boolean verifySignatureFor(String algorithm, byte[] secretBytes, byte[] contentBytes, byte[] signatureBytes) throws NoSuchAlgorithmException, InvalidKeyException {
          return MessageDigest.isEqual(createSignatureFor(algorithm, secretBytes, contentBytes), signatureBytes);
      }
docs: Verify signature.
  
  @param algorithm algorithm name.
  @param secretBytes algorithm secret.
  @param contentBytes the content to which the signature applies.
  @param signatureBytes JWT signature.
  @return true if signature is valid.
  @throws NoSuchAlgorithmException if the algorithm is not supported.
  @throws InvalidKeyException if the given key is inappropriate for initializing the specified algorithm.
  @deprecated rather use corresponding method which takes header and payload as separate inputs