T
- public interface ParametersWithIV<T extends Parameters> extends Parameters
Modifier and Type | Method and Description |
---|---|
byte[] |
getIV()
Return the initialization vector associated with this parameter set.
|
T |
withIV(byte[] iv)
Create a new parameter set with a different IV.
|
T |
withIV(java.security.SecureRandom random)
Create a new parameter set with a different IV based on the output
of the passed in random.
|
getAlgorithm
byte[] getIV()
T withIV(byte[] iv)
iv
- the IV to use.T withIV(java.security.SecureRandom random)
random
- the SecureRandom to use as the source of IV data.