public static final class SipHash.AuthParameters extends GeneralParameters<GeneralAlgorithm> implements AuthenticationParameters<SipHash.AuthParameters>
Constructor and Description |
---|
AuthParameters() |
AuthParameters(GeneralAlgorithm algorithm) |
Modifier and Type | Method and Description |
---|---|
int |
getMACSizeInBits()
Return the size of the MAC these parameters are for.
|
SipHash.AuthParameters |
withMACSize(int macSizeInBits)
Create a parameter set with the specified MAC size associated with it.
|
getAlgorithm
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
getAlgorithm
public AuthParameters()
public AuthParameters(GeneralAlgorithm algorithm)
public int getMACSizeInBits()
AuthenticationParameters
getMACSizeInBits
in interface AuthenticationParameters<SipHash.AuthParameters>
public SipHash.AuthParameters withMACSize(int macSizeInBits)
AuthenticationParameters
withMACSize
in interface AuthenticationParameters<SipHash.AuthParameters>
macSizeInBits
- bit length of the MAC length.