Java™ Platform
Standard Ed. 6

Uses of Class
javax.crypto.BadPaddingException

Packages that use BadPaddingException
javax.crypto Provides the classes and interfaces for cryptographic operations. 
 

Uses of BadPaddingException in javax.crypto
 

Methods in javax.crypto that throw BadPaddingException
 byte[] Cipher.doFinal()
          Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
 byte[] Cipher.doFinal(byte[] input)
          Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
 int Cipher.doFinal(byte[] output, int outputOffset)
          Finishes a multiple-part encryption or decryption operation, depending on how this cipher was initialized.
 byte[] Cipher.doFinal(byte[] input, int inputOffset, int inputLen)
          Encrypts or decrypts data in a single-part operation, or finishes a multiple-part operation.
 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.
 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.
 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.
 Object SealedObject.getObject(Cipher c)
          Retrieves the original (encapsulated) object.
 


Java™ Platform
Standard Ed. 6

Submit a bug or feature
For further API reference and developer documentation, see Java SE Developer Documentation. That documentation contains more detailed, developer-targeted descriptions, with conceptual overviews, definitions of terms, workarounds, and working code examples.

Copyright 2006 Sun Microsystems, Inc. All rights reserved. Use is subject to license terms. Also see the documentation redistribution policy.