| Modifier and Type | Method and Description |
|---|---|
| public byte[] | |
| public void | calculateMAC(byte[]
output array to write the MAC to. output, int offset into the output array to write the MAC to. outOff)Write the calculated MAC to an output buffer. |
| public int | |
| public void | |
| public void | setKey(byte[]
array holding the MAC key. key, int offset into the array the key starts at. keyOff, int length of the key in the array. keyLen)Set the key to be used by the MAC implementation supporting this service. |
| public void | update(byte[]
input array containing the data. input, int offset into the input array the input starts at. inOff, int the length of the input data. length)Update the MAC with the passed in input. |
| calculateMAC | back to summary |
|---|---|
| public byte[] calculateMAC() Return calculated MAC for any input passed in.
| |
| calculateMAC | back to summary |
|---|---|
| public void calculateMAC(byte[] output, int outOff) Write the calculated MAC to an output buffer.
| |
| getMacLength | back to summary |
|---|---|
| public int getMacLength() Return the length of the MAC generated by this service.
| |
| reset | back to summary |
|---|---|
| public void reset() Reset the MAC underlying this service. | |
| setKey | back to summary |
|---|---|
| public void setKey(byte[] key, int keyOff, int keyLen) Set the key to be used by the MAC implementation supporting this service.
| |
| update | back to summary |
|---|---|
| public void update(byte[] input, int inOff, int length) Update the MAC with the passed in input.
| |