java.lang.Object | |
↳ | org.bouncycastle.crypto.macs.GOST28147Mac |
implementation of GOST 28147-89 MAC
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Compute the final stage of the MAC writing the output to the out
parameter.
| |||||||||||
Return the name of the algorithm the MAC implements.
| |||||||||||
Return the block size for this MAC (in bytes).
| |||||||||||
Initialise the MAC.
| |||||||||||
Reset the MAC.
| |||||||||||
add a single byte to the mac for processing.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class
java.lang.Object
| |||||||||||
From interface
org.bouncycastle.crypto.Mac
|
Compute the final stage of the MAC writing the output to the out parameter.
doFinal leaves the MAC in the same state it was after the last init.
out | the array the MAC is to be output to. |
---|---|
outOff | the offset into the out buffer the output is to start at. |
Return the name of the algorithm the MAC implements.
Return the block size for this MAC (in bytes).
Initialise the MAC.
params | the key and other data required by the MAC. |
---|
IllegalArgumentException |
---|
Reset the MAC. At the end of resetting the MAC should be in the in the same state it was after the last init (if there was one).
add a single byte to the mac for processing.
in | the byte to be processed. |
---|
IllegalStateException |
---|