Package org.bouncycastle.operator
Interface RawContentVerifier
-
public interface RawContentVerifier
Interface for ContentVerifiers that also support raw signatures that can be verified using the digest of the calculated data.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description boolean
verify(byte[] digest, byte[] expected)
Verify that the expected signature value was derived from the passed in digest.
-
-
-
Method Detail
-
verify
boolean verify(byte[] digest, byte[] expected)
Verify that the expected signature value was derived from the passed in digest.- Parameters:
digest
- digest calculated from the content.expected
- expected value of the signature- Returns:
- true if the expected signature is derived from the digest, false otherwise.
-
-