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