org.bouncycastle.gpg.keybox.BlobVerifier Maven / Gradle / Ivy
The newest version!
package org.bouncycastle.gpg.keybox;
/**
* Base interface for a blob integrity checking operator.
*/
public interface BlobVerifier
{
/**
* Return true if the passed in blobData calculates to the expected digest.
*
* @param blobData bytes making up the blob.
* @param blobDigest the expected digest.
* @return true on a match, false otherwise.
*/
boolean isMatched(byte[] blobData, byte[] blobDigest);
}
© 2015 - 2025 Weber Informatics LLC | Privacy Policy