IvParameterSpec


IvParameterSpec javax.crypto.spec

Java 1.4

This java.security.spec.AlgorithmParameterSpec is a transparent representation of an initialization vector or IV. An IV is required for block ciphers used in feedback mode, such as DES in CBC mode.

Figure 17-21. javax.crypto.spec.IvParameterSpec

 public class  IvParameterSpec  implements java.security.spec.AlgorithmParameterSpec {  // Public Constructors  public  IvParameterSpec  (byte[ ]  iv  );        public  IvParameterSpec  (byte[ ]  iv  , int  offset  , int  len  );  // Public Instance Methods  public byte[ ]  getIV  ( );   } 



Java In A Nutshell
Java In A Nutshell, 5th Edition
ISBN: 0596007736
EAN: 2147483647
Year: 2004
Pages: 1220

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net