| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | Returns: algorithm oid and parameters.Return the algorithm identifier describing the signature algorithm and parameters this verifier supports. |
| public OutputStream | Returns: an OutputStreamReturns a stream that will accept data for the purpose of calculating a signature for later verification. |
| public boolean | Returns: true if the signature verifies, false otherwiseexpected value of the signature on the data. expected)Return true if the expected value of the signature matches the data passed into the stream. |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() Return the algorithm identifier describing the signature algorithm and parameters this verifier supports.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Returns a stream that will accept data for the purpose of calculating a signature for later verification. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |
| verify | back to summary |
|---|---|
| public boolean verify(byte[] expected) Return true if the expected value of the signature matches the data passed into the stream.
| |