Top Description Constructors
org.bouncycastle.crypto

public Class IllegalKeyException

extends IllegalArgumentException
Class Inheritance

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

AccessConstructor and Description
public
IllegalKeyException(String
a message concerning the exception.
message
)

Base constructor.

Constructor Detail

IllegalKeyExceptionback to summary
public IllegalKeyException(String message)

Base constructor.

Parameters
message:String

a message concerning the exception.