Package org.bouncycastle.gpg.keybox
Interface BlobVerifier
- All Known Implementing Classes:
BcBlobVerifier
,JcaBlobVerifier
public interface BlobVerifier
Base interface for a blob integrity checking operator.
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isMatched
(byte[] blobData, byte[] blobDigest) Return true if the passed in blobData calculates to the expected digest.
-
Method Details
-
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.
-