Class JcaBlobVerifier

  • All Implemented Interfaces:
    BlobVerifier

    public class JcaBlobVerifier
    extends java.lang.Object
    implements BlobVerifier
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean isMatched​(byte[] blobData, byte[] blobDigest)
      Return true if the passed in blobData calculates to the expected digest.
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Method Detail

      • isMatched

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