| Modifier and Type | Field and Description |
|---|---|
| protected final int | |
| protected final byte[] |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| pack-priv abstract T | |
| public byte[] | Returns: the current IV.Implements org. |
| public T | Returns: a new instance of our parameterized type with a new IV.the SecureRandom to use as the source of IV data. random)Implements org. |
| public T | Returns: a new instance of our parameterized type with a new IV.the bytes making up the iv, or nonce, to use. iv)Implements org. |
| blockSize | back to summary |
|---|---|
| protected final int blockSize | |
| iv | back to summary |
|---|---|
| protected final byte[] iv | |
| GeneralParametersWithIV | back to summary |
|---|---|
| pack-priv GeneralParametersWithIV(GeneralAlgorithm algorithm, int blockSize, byte[] iv) | |
| create | back to summary |
|---|---|
| pack-priv abstract T create(GeneralAlgorithm algorithm, byte[] iv) | |
| getIV | back to summary |
|---|---|
| public byte[] getIV() Implements org. Return a copy of the current IV value.
| |
| withIV | back to summary |
|---|---|
| public T withIV(SecureRandom random) Implements org. Return an implementation of our parameterized type with an IV constructed from the passed in SecureRandom.
| |
| withIV | back to summary |
|---|---|
| public T withIV(byte[] iv) Implements org. Return an implementation of our parameterized type containing the passed in IV.
| |