public class IvParameterSpec extends Object implements AlgorithmParameterSpec
| Constructor and Description | 
|---|
| IvParameterSpec(byte[] iv)
              创建使用字节来构造一个IvParameterSpec对象 
              iv作为IV。 | 
| IvParameterSpec(byte[] iv, int offset, int len)
              创建使用第一构造一个IvParameterSpec对象 
              len字节iv,在开始offset以下,作为IV。 | 
public IvParameterSpec(byte[] iv)
iv作为IV。 
          iv - 具有IV的缓冲区。 
            复制缓冲区的内容以防止后续修改。 
           NullPointerException - 如果 
            iv是 
            null 
           public IvParameterSpec(byte[] iv,
                       int offset,
                       int len) 
          len字节iv ,在开始offset以下,作为IV。 
            组成IV的字节在之间iv[offset]和iv[offset+len-1]以下。 
iv - 具有IV的缓冲区。 
            第一len字节在开始缓冲的offset包容被复制到防止后续修改。 
           offset - 偏移在 
            iv哪里IV启动。 
           len - IV字节数。 
           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.