java.lang.Object | |
↳ | javax.crypto.spec.IvParameterSpec |
The algorithm parameter specification for an initialization vector.
Public Constructors | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Creates a new
IvParameterSpec instance with the bytes from
the specified buffer iv used as initialization vector. | |||||||||||
Creates a new
IvParameterSpec instance with len
bytes from the specified buffer iv starting at
offset . |
Public Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
Returns a copy of the initialization vector data.
|
[Expand]
Inherited Methods | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|
From class java.lang.Object
|
Creates a new IvParameterSpec
instance with the bytes from
the specified buffer iv used as initialization vector.
iv | the buffer used as initialization vector. |
---|
NullPointerException | if the specified buffer is null. |
---|
Creates a new IvParameterSpec
instance with len
bytes from the specified buffer iv
starting at
offset
.
iv | the buffer used as initialization vector. |
---|---|
offset | the offset to start in the buffer. |
len | the length of the data. |
IllegalArgumentException | if the specified buffer is null or offset and
len do not specify a valid chunk in the
specified buffer. |
---|---|
ArrayIndexOutOfBoundsException | if offset or len are negative.
|
Returns a copy of the initialization vector data.