Class BcBlobVerifier

java.lang.Object
org.bouncycastle.gpg.keybox.bc.BcBlobVerifier
All Implemented Interfaces:
BlobVerifier

public class BcBlobVerifier extends Object implements BlobVerifier
  • Constructor Details

    • BcBlobVerifier

      public BcBlobVerifier()
  • Method Details

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