Save This Page
Home » openjdk-7 » javax » crypto » spec » [javadoc | source]
javax.crypto.spec
public class: IvParameterSpec [javadoc | source]
java.lang.Object
   javax.crypto.spec.IvParameterSpec

All Implemented Interfaces:
    AlgorithmParameterSpec

This class specifies an initialization vector (IV). Examples which use IVs are ciphers in feedback mode, e.g., DES in CBC mode and RSA ciphers with OAEP encoding operation.
Constructor:
 public IvParameterSpec(byte[] iv) 
 public IvParameterSpec(byte[] iv,
    int offset,
    int len) 
Method from javax.crypto.spec.IvParameterSpec Summary:
getIV
Methods from java.lang.Object:
clone,   equals,   finalize,   getClass,   hashCode,   notify,   notifyAll,   toString,   wait,   wait,   wait
Method from javax.crypto.spec.IvParameterSpec Detail:
 public byte[] getIV() 
    Returns the initialization vector (IV).