Package org.bouncycastle.gpg.keybox.bc
Class BcBlobVerifier
java.lang.Object
org.bouncycastle.gpg.keybox.bc.BcBlobVerifier
- All Implemented Interfaces:
BlobVerifier
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionboolean
isMatched
(byte[] blobData, byte[] blobDigest) Return true if the passed in blobData calculates to the expected digest.
-
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 interfaceBlobVerifier
- Parameters:
blobData
- bytes making up the blob.blobDigest
- the expected digest.- Returns:
- true on a match, false otherwise.
-