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:
java.io.Serializable
public class IllegalKeyException extends java.lang.IllegalArgumentException
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:
- Serialized Form
-
-
Constructor Summary
Constructors Constructor Description IllegalKeyException(java.lang.String message)
Base constructor.
-