javax.crypto.spec
public class IvParameterSpec extends Object implements AlgorithmParameterSpec
Constructor and Description |
---|
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.
|
public IvParameterSpec(byte[] iv)
iv
- The IV bytes.public IvParameterSpec(byte[] iv, int off, int len)
iv
- The IV bytes.off
- The offset into the IV bytes.len
- The number of IV bytes.public byte[] getIV()