| Modifier and Type | Method and Description |
|---|---|
| public AlgorithmIdentifier | |
| public GenericKey | |
| public byte[] | Returns: calculated MAC.Return the calculated MAC based on what has been written to the stream. |
| public OutputStream | Returns: an OutputStreamReturns a stream that will accept data for the purpose of calculating the MAC for later verification. |
| getAlgorithmIdentifier | back to summary |
|---|---|
| public AlgorithmIdentifier getAlgorithmIdentifier() | |
| getKey | back to summary |
|---|---|
| public GenericKey getKey() Return the key used for calculating the MAC.
| |
| getMac | back to summary |
|---|---|
| public byte[] getMac() Return the calculated MAC based on what has been written to the stream.
| |
| getOutputStream | back to summary |
|---|---|
| public OutputStream getOutputStream() Returns a stream that will accept data for the purpose of calculating the MAC for later verification. Use org.bouncycastle.util.io.TeeOutputStream if you want to accumulate the data on the fly as well.
| |