Bouncy Castle Cryptography 1.50

org.bouncycastle.crypto.io
Class InvalidCipherTextIOException

java.lang.Object
  extended by java.lang.Throwable
      extended by java.lang.Exception
          extended by java.io.IOException
              extended by org.bouncycastle.crypto.io.InvalidCipherTextIOException
All Implemented Interfaces:
java.io.Serializable

public class InvalidCipherTextIOException
extends java.io.IOException

IOException wrapper around an exception indicating an invalid ciphertext, such as in authentication failure during finalisation of an AEAD cipher. For use in streams that need to expose invalid ciphertext errors.

See Also:
Serialized Form

Constructor Summary
InvalidCipherTextIOException(java.lang.String message, java.lang.Throwable cause)
           
 
Method Summary
 java.lang.Throwable getCause()
           
 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

InvalidCipherTextIOException

public InvalidCipherTextIOException(java.lang.String message,
                                    java.lang.Throwable cause)
Method Detail

getCause

public java.lang.Throwable getCause()
Overrides:
getCause in class java.lang.Throwable

Bouncy Castle Cryptography 1.50