# Uses of Class
javax.crypto.IllegalBlockSizeException

Packages that use IllegalBlockSizeException
Package
Description
javax.crypto
Provides the classes and interfaces for cryptographic operations.

- ## Uses of IllegalBlockSizeException in javax.crypto

  Methods in javax.crypto that throw IllegalBlockSizeException
  Modifier and Type
  Method
  Description
  `final byte[]`
  Cipher.`doFinal()`
  Finishes a multiple-part encryption or decryption operation, depending on how this `Cipher` object was initialized.
  `final byte[]`
  Cipher.`doFinal(byte[] input)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `final int`
  Cipher.`doFinal(byte[] output, int outputOffset)`
  Finishes a multiple-part encryption or decryption operation, depending on how this `Cipher` object was initialized.
  `final byte[]`
  Cipher.`doFinal(byte[] input, int inputOffset, int inputLen)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `final int`
  Cipher.`doFinal(byte[] input, int inputOffset, int inputLen, byte[] output)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `final int`
  Cipher.`doFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `final int`
  Cipher.`doFinal(ByteBuffer input, ByteBuffer output)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `protected abstract byte[]`
  CipherSpi.`engineDoFinal(byte[] input, int inputOffset, int inputLen)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `protected abstract int`
  CipherSpi.`engineDoFinal(byte[] input, int inputOffset, int inputLen, byte[] output, int outputOffset)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `protected int`
  CipherSpi.`engineDoFinal(ByteBuffer input, ByteBuffer output)`
  Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
  `protected byte[]`
  CipherSpi.`engineWrap(Key key)`
  Wrap a key.
  `final Object`
  SealedObject.`getObject(Cipher c)`
  Retrieves the original (encapsulated) object.
  `final byte[]`
  Cipher.`wrap(Key key)`
  Wrap a key.
  Constructors in javax.crypto that throw IllegalBlockSizeException
  Modifier
  Constructor
  Description
  ``
  `SealedObject(Serializable object, Cipher c)`
  Constructs a `SealedObject` from any `Serializable` object.