public interface

RawContentVerifier

org.bouncycastle.operator.RawContentVerifier

Class Overview

Interface for ContentVerifiers that also support raw signatures that can be verified using the digest of the calculated data.

Summary

Public Methods
abstract boolean verify(byte[] digest, byte[] expected)
Verify that the expected signature value was derived from the passed in digest.

Public Methods

public abstract 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.