bc-fips 1.0.2.5
org.bouncycastle.crypto
IllegalKeyException
Top
Description
Constructors
org.bouncycastle.crypto
public
Class IllegalKeyException
extends
IllegalArgumentException
Class Inheritance
java.lang.Object
java.lang.Throwable
java.lang.Exception
java.lang.RuntimeException
java.lang.IllegalArgumentException
org.bouncycastle.crypto.IllegalKeyException
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.
Constructor Summary
Access
Constructor and Description
public
IllegalKeyException
(
String
a message concerning the exception.
message
)
Base constructor.
Constructor Detail
IllegalKeyException
back to summary
public
IllegalKeyException
(
String
message
)
Base constructor.
Parameters
message:
String
a message concerning the exception.