Interface RawContentVerifier


public interface RawContentVerifier
Interface for ContentVerifiers that also support raw signatures that can be verified using the digest of the calculated data.
  • Method Summary

    Modifier and Type
    Method
    Description
    boolean
    verify(byte[] digest, byte[] expected)
    Verify that the expected signature value was derived from the passed in digest.
  • Method Details

    • verify

      boolean verify(byte[] digest, byte[] expected)
      Verify that the expected signature value was derived from the passed in digest.
      Parameters:
      digest - digest calculated from the content.
      expected - expected value of the signature
      Returns:
      true if the expected signature is derived from the digest, false otherwise.