public static final class GOST28147.AuthParameters extends GeneralAuthParameters<GOST28147.AuthParameters>
macLenInBits
blockSize, 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, withMACSize
getIV, withIV, withIV
getAlgorithm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getIV, withIV, withIV
getAlgorithm
public 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()