public class IvParameterSpec extends Object implements AlgorithmParameterSpec
| Constructor and Description |
|---|
IvParameterSpec(byte[] iv)
创建一个ivparameterspec对象使用字节
iv为IV.
|
IvParameterSpec(byte[] iv, int offset, int len)
创建
iv使用第一
len字节ivparameterspec对象,在
offset包容的开始,为IV.
|
public IvParameterSpec(byte[] iv)
iv为IV.
iv -缓冲区的内容复制到防止后续修改四缓冲区。
null
iv
NullPointerException
public IvParameterSpec(byte[] iv,
int offset,
int len)
iv使用第一
len字节ivparameterspec对象,在
offset包容的开始,作为第四
构成的四字节被那些iv[offset]和iv[offset+len-1]包容之间。
iv -在
offset包括缓冲区开始的第一
len字节复制到防止后续修改四缓冲区。
offset
iv IV开始偏移。
len -四字节数。
IllegalArgumentException -如果
iv是
null或
(iv.length - offset < len)
ArrayIndexOutOfBoundsException -如果
offset或
len指数字节外
iv扔。
Submit a bug or feature
For further API reference and developer documentation, see Java SE Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.
Copyright © 1993, 2014, Oracle and/or its affiliates. All rights reserved.