public class IvParameterSpec extends java.lang.Object implements java.security.spec.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.
|
| Modifier and Type | Method and Description |
|---|---|
byte[] |
getIV()
Returns the IV.
|
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()