RawContentVerifier (Bouncy Castle Library 1.52 API Specification)
Date: 2015-03-01

org.bouncycastle.operator

## 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

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

- - ### Method Detail

    - #### 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.