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.IllegalBlockSizeExceptionpublic class IllegalBlockSizeException extends java.security.GeneralSecurityException { // Public Constructors public IllegalBlockSizeException ( ); public IllegalBlockSizeException (String msg ); } Thrown ByCipher.{doFinal( ) , wrap( )} , CipherSpi.{engineDoFinal( ) , engineWrap( )} , SealedObject.{getObject( ) , SealedObject( )} |