javax.crypto.spec
public class IvParameterSpec extends Object implements AlgorithmParameterSpec
Constructor Summary | |
---|---|
IvParameterSpec(byte[] iv)
Create a new initialization vector spec from an entire byte array.
| |
IvParameterSpec(byte[] iv, int off, int len)
Create a new initialization vector spec from part of a byte array.
|
Method Summary | |
---|---|
byte[] | getIV()
Returns the IV. |
Parameters: iv The IV bytes.
Parameters: iv The IV bytes. off The offset into the IV bytes. len The number of IV bytes.
Returns: The IV.