public static final class SecureHash.AuthParameters extends GeneralParameters<GeneralAlgorithm> implements AuthenticationParameters<SecureHash.AuthParameters>
Modifier and Type | Method and Description |
---|---|
int |
getMACSizeInBits()
Return the length of the MAC that will be made using these parameters in bits.
|
SecureHash.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<SecureHash.AuthParameters>
public SecureHash.AuthParameters withMACSize(int macSizeInBits)
withMACSize
in interface AuthenticationParameters<SecureHash.AuthParameters>
macSizeInBits
- bit length of the MAC length.