Interface BlobVerifier

  • All Known Implementing Classes:
    BcBlobVerifier, JcaBlobVerifier

    public interface BlobVerifier
    Base interface for a blob integrity checking operator.
    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      boolean isMatched​(byte[] blobData, byte[] blobDigest)
      Return true if the passed in blobData calculates to the expected digest.
    • Method Detail

      • isMatched

        boolean isMatched​(byte[] blobData,
                          byte[] blobDigest)
        Return true if the passed in blobData calculates to the expected digest.
        Parameters:
        blobData - bytes making up the blob.
        blobDigest - the expected digest.
        Returns:
        true on a match, false otherwise.