public class IvParameterSpec extends java.lang.Object implements AlgorithmParameterSpec
Constructor and Description |
---|
IvParameterSpec(byte[] iv,
int offset,
int len)
Uses the first
len bytes in iv ,
beginning at offset inclusive, as the IV. |
Modifier and Type | Method and Description |
---|---|
byte[] |
getIV()
Returns the initialization vector (IV).
|
public IvParameterSpec(byte[] iv, int offset, int len)
len
bytes in iv
,
beginning at offset
inclusive, as the IV.
The bytes that constitute the IV are those between
iv[offset]
and iv[offset+len-1]
inclusive.
iv
- the buffer with the IVoffset
- the offset in iv
where the IV
startslen
- the number of IV bytesCopyright © 2013, Oracle and/or its affiliates. All rights reserved.
Use is subject to License Terms. Your use of this web site or any of its contents or software indicates your agreement to be bound by these License Terms.