Package org.bouncycastle.crypto
Class IllegalKeyException
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bouncycastle.crypto.IllegalKeyException
- All Implemented Interfaces:
Serializable
Exception thrown when an attempt is made to use an illegal key with an algorithm, A key
may be regarded as illegal if it has been created for a specific mode of a particular algorithm
and an attempt is made to use it for a different mode.
- See Also:
-
Constructor Summary
Constructors -
Method Summary
Methods inherited from class java.lang.Throwable
addSuppressed, fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, getSuppressed, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
-
Constructor Details
-
IllegalKeyException
Base constructor.- Parameters:
message
- a message concerning the exception.
-