public static final class GOST28147.AuthParameters extends GeneralAuthParameters<GOST28147.AuthParameters>
macLenInBitsblockSize, iv| Constructor and Description |
|---|
AuthParameters(GeneralAlgorithm algorithm,
byte[] sBox)
Base constructor - the algorithm, null IV.
|
| Modifier and Type | Method and Description |
|---|---|
protected GOST28147.AuthParameters |
create(GeneralAlgorithm algorithm,
byte[] iv,
int macSizeInBits) |
byte[] |
getSBox() |
GOST28147.AuthParameters |
withSBox(byte[] sBox) |
create, getMACSizeInBits, withIV, withMACSizegetIV, withIV, withIVgetAlgorithmclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetIV, withIV, withIVgetAlgorithmpublic AuthParameters(GeneralAlgorithm algorithm, byte[] sBox)
algorithm - algorithm mode.sBox - alternate sBox to use.protected GOST28147.AuthParameters create(GeneralAlgorithm algorithm, byte[] iv, int macSizeInBits)
public GOST28147.AuthParameters withSBox(byte[] sBox)
public byte[] getSBox()