Top Description Methods
org.bouncycastle.gpg.keybox

public Interface BlobVerifier

Known Direct Implementers
org.bouncycastle.gpg.keybox.jcajce.JcaBlobVerifier

Base interface for a blob integrity checking operator.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true on a match, false otherwise.
isMatched
(byte[]
bytes making up the blob.
blobData
,
byte[]
the expected digest.
blobDigest
)

Return true if the passed in blobData calculates to the expected digest.

Method Detail

isMatchedback to summary
public boolean isMatched(byte[] blobData, byte[] blobDigest)

Return true if the passed in blobData calculates to the expected digest.

Parameters
blobData:byte[]

bytes making up the blob.

blobDigest:byte[]

the expected digest.

Returns:boolean

true on a match, false otherwise.