T - the implementing type for this interface.public interface AuthenticationParametersWithIV<T extends AuthenticationParametersWithIV> extends AuthenticationParameters<T>, ParametersWithIV<T>
| Modifier and Type | Method and Description |
|---|---|
T |
withIV(java.security.SecureRandom random,
int ivLen)
Return an implementation of our parameterized type with an IV constructed from the passed in SecureRandom.
|
getMACSizeInBits, withMACSizegetIV, withIV, withIVgetAlgorithmT withIV(java.security.SecureRandom random, int ivLen)
random - source of randomness for iv (nonce)ivLen - length of the iv (nonce) in bytes to use with the algorithm.