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.
|
getAlgorithmclone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, waitgetAlgorithmpublic AuthParameters()
public AuthParameters(GeneralAlgorithm algorithm)
public int getMACSizeInBits()
AuthenticationParametersgetMACSizeInBits in interface AuthenticationParameters<SipHash.AuthParameters>public SipHash.AuthParameters withMACSize(int macSizeInBits)
AuthenticationParameterswithMACSize in interface AuthenticationParameters<SipHash.AuthParameters>macSizeInBits - bit length of the MAC length.