public interface ContentVerifier
Modifier and Type | Method and Description |
---|---|
org.bouncycastle.asn1.x509.AlgorithmIdentifier |
getAlgorithmIdentifier()
Return the algorithm identifier describing the signature
algorithm and parameters this verifier supports.
|
java.io.OutputStream |
getOutputStream()
Returns a stream that will accept data for the purpose of calculating
a signature for later verification.
|
boolean |
verify(byte[] expected)
Return true if the expected value of the signature matches the data passed
into the stream.
|
org.bouncycastle.asn1.x509.AlgorithmIdentifier getAlgorithmIdentifier()
java.io.OutputStream getOutputStream()
boolean verify(byte[] expected)
expected
- expected value of the signature on the data.