| Modifier and Type | Method and Description |
|---|---|
| public byte[] | Returns: a byte array containing outLen bytes of output.the number of output bytes requested. outLen)Return the outLen bytes of function output for what has been written to the calculator's output stream. |
| public int | Returns: the number of bytes writtenoutput array to write the output bytes to. output, int offset to start writing the bytes at. off, int the number of output bytes requested. outLen)Output the function output for what has been written to the calculator's output stream. |
| public UpdateOutputStream | Returns: an UpdateOutputStreamReturns a stream that will accept data for the purpose of calculating a MAC. |
| public T | Returns: the MAC calculator's parameters.Return the parameters for this MAC calculator. |
| public void |
| getFunctionOutput | back to summary |
|---|---|
| public byte[] getFunctionOutput(int outLen) Return the outLen bytes of function output for what has been written to the calculator's output stream.
| |
| getFunctionOutput | back to summary |
|---|---|
| public int getFunctionOutput(byte[] output, int off, int outLen) Output the function output for what has been written to the calculator's output stream.
| |
| getFunctionStream | back to summary |
|---|---|
| public UpdateOutputStream getFunctionStream() Returns a stream that will accept data for the purpose of calculating a MAC. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |
| getParameters | back to summary |
|---|---|
| public T getParameters() Return the parameters for this MAC calculator.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the calculator back to its initial state. | |