IllegalBlockSizeException


IllegalBlockSizeException javax.crypto

Java 1.4 serializable checked

Signals that the length of data provided to a block cipher (as implemented, for example, by Cipher and SealedObject ) does not match the block size for the cipher.

Figure 17-5. javax.crypto.IllegalBlockSizeException

 public class  IllegalBlockSizeException  extends java.security.GeneralSecurityException {  // Public Constructors  public  IllegalBlockSizeException  ( );        public  IllegalBlockSizeException  (String  msg  );   } 

Thrown By

Cipher.{doFinal( ) , wrap( )} , CipherSpi.{engineDoFinal( ) , engineWrap( )} , SealedObject.{getObject( ) , SealedObject( )}



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