Top Description Methods
org.bouncycastle.operator

public Interface RawContentVerifier

Known Direct Implementers
org.bouncycastle.operator.jcajce.JcaContentVerifierProviderBuilder.RawSigVerifier

Interface for ContentVerifiers that also support raw signatures that can be verified using the digest of the calculated data.

Method Summary

Modifier and TypeMethod and Description
public boolean

Returns:

true if the expected signature is derived from the digest, false otherwise.
verify
(byte[]
digest calculated from the content.
digest
,
byte[]
expected value of the signature
expected
)

Verify that the expected signature value was derived from the passed in digest.

Method Detail

verifyback to summary
public boolean verify(byte[] digest, byte[] expected)

Verify that the expected signature value was derived from the passed in digest.

Parameters
digest:byte[]

digest calculated from the content.

expected:byte[]

expected value of the signature

Returns:boolean

true if the expected signature is derived from the digest, false otherwise.