Top Description Methods
org.bouncycastle.crypto

public Interface AuthenticationParameters<T extends Parameters>

extends Parameters
Known Direct Subinterfaces
org.bouncycastle.crypto.AuthenticationParametersWithIV
Known Direct Implementers
org.bouncycastle.crypto.fips.FipsSHS.AuthParameters, org.bouncycastle.crypto.general.SecureHash.AuthParameters, org.bouncycastle.crypto.general.SipHash.AuthParameters
Type Parameters
<T>
the implementing type for this interface.

Interface that parameters sets associated with MACs should conform to.

Method Summary

Modifier and TypeMethod and Description
public int

Returns:

the MAC size in bits.
getMACSizeInBits
()

Return the size of the MAC these parameters are for.

public T

Returns:

the new parameter set.
withMACSize
(int
bit length of the MAC length.
macSizeInBits
)

Create a parameter set with the specified MAC size associated with it.

Inherited from org.bouncycastle.crypto.Parameters:
getAlgorithm

Method Detail

getMACSizeInBitsback to summary
public int getMACSizeInBits()

Return the size of the MAC these parameters are for.

Returns:int

the MAC size in bits.

withMACSizeback to summary
public T withMACSize(int macSizeInBits)

Create a parameter set with the specified MAC size associated with it.

Parameters
macSizeInBits:int

bit length of the MAC length.

Returns:T

the new parameter set.