Team LiB
Previous Section Next Section

BadPaddingExceptionjavax.crypto

Java 1.4serializable checked

Signals that input data to a Cipher is not padded correctly.

Figure 17-1. javax.crypto.BadPaddingException


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

Thrown By

Cipher.doFinal( ), CipherSpi.engineDoFinal( ), SealedObject.getObject( )

    Team LiB
    Previous Section Next Section