public static final class FipsSHS.AuthParameters extends FipsParameters implements AuthenticationParameters<FipsSHS.AuthParameters>
Modifier and Type | Method and Description |
---|---|
int |
getMACSizeInBits()
Return the length of the MAC that will be made using these parameters in bits.
|
FipsSHS.AuthParameters |
withMACSize(int macSizeInBits)
Return a new set of parameters specifying a specific mac size.
|
getAlgorithm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public int getMACSizeInBits()
getMACSizeInBits
in interface AuthenticationParameters<FipsSHS.AuthParameters>
public FipsSHS.AuthParameters withMACSize(int macSizeInBits)
withMACSize
in interface AuthenticationParameters<FipsSHS.AuthParameters>
macSizeInBits
- bit length of the MAC length.