Package org.bouncycastle.gpg.keybox.bc
Class BcBlobVerifier
- java.lang.Object
-
- org.bouncycastle.gpg.keybox.bc.BcBlobVerifier
-
- All Implemented Interfaces:
BlobVerifier
public class BcBlobVerifier extends java.lang.Object implements BlobVerifier
-
-
Constructor Summary
Constructors Constructor Description BcBlobVerifier()
-
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.
-
-
-
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 interfaceBlobVerifier
- Parameters:
blobData
- bytes making up the blob.blobDigest
- the expected digest.- Returns:
- true on a match, false otherwise.
-
-