public static final class FipsSHS.KMACParameters extends FipsSHS.AuthParameters
Modifier and Type | Method and Description |
---|---|
byte[] |
getCustomizationString()
Return the customization string for this parameter set.
|
FipsSHS.KMACParameters |
withCustomizationString(byte[] customizationString)
Return a new set of parameters specifying a specific customization string.
|
FipsSHS.KMACParameters |
withMACSize(int macSizeInBits)
Return a new set of parameters specifying a specific mac size.
|
getMACSizeInBits
getAlgorithm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public byte[] getCustomizationString()
public FipsSHS.KMACParameters withCustomizationString(byte[] customizationString)
customizationString
- the function name bit string (S).public FipsSHS.KMACParameters withMACSize(int macSizeInBits)
withMACSize
in interface AuthenticationParameters<FipsSHS.AuthParameters>
withMACSize
in class FipsSHS.AuthParameters
macSizeInBits
- bit length of the MAC length.