com.rsa.jsafe
Class JSAFE_InvalidKeyException

java.lang.Object
  extended byjava.lang.Throwable
      extended byjava.lang.Exception
          extended bycom.rsa.jsafe.JSAFE_Exception
              extended bycom.rsa.jsafe.JSAFE_InvalidKeyException
All Implemented Interfaces:
Serializable

public class JSAFE_InvalidKeyException
extends JSAFE_Exception

This exception is thrown when a key or key data is invalid. This can happen when a key object's data is being set (in which case the error is probably key-length related), or when a cipher object is being initialized (in which case the error is probably key-type related). The details of the error can be found in the exception comment string s.

See Overview of Crypto-J for background and reference material on using and understanding Crypto-J.

Copyright © RSA Security Inc., 1997-2005. All rights reserved.

See Also:
Serialized Form

Constructor Summary
JSAFE_InvalidKeyException()

 

JSAFE_InvalidKeyException(String s)

 

 
Methods inherited from class java.lang.Throwable
fillInStackTrace, getCause, getLocalizedMessage, getMessage, getStackTrace, initCause, printStackTrace, printStackTrace, printStackTrace, setStackTrace, toString
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

JSAFE_InvalidKeyException

public JSAFE_InvalidKeyException()

JSAFE_InvalidKeyException

public JSAFE_InvalidKeyException(String s)


RSA BSAFE Crypto-J 3.5.2