com.rsa.jsafe
Class JSAFE_Object

java.lang.Object
  extended bycom.rsa.jsafe.JSAFE_Object
All Implemented Interfaces:
Cloneable, Serializable
Direct Known Subclasses:
JSAFE_AsymmetricCipher, JSAFE_KeyAgree, JSAFE_KeyPair, JSAFE_MAC, JSAFE_MessageDigest, JSAFE_Parameters, JSAFE_PrivateKey, JSAFE_PublicKey, JSAFE_Recode, JSAFE_SecretKey, JSAFE_Session, JSAFE_Signature, JSAFE_SymmetricCipher

public class JSAFE_Object
extends Object
implements Serializable, Cloneable

This class is used as the base for all JSAFE objects, and includes the basic cloning and serialization properties.

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_Object()

 

 
Method Summary

 Object

clone()

Duplicates the existing object.

 void

overwrite(byte[] theArray)

Overwrites a byte array.

 void

overwrite(int[] theArray)

Overwrites an int array.

 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
 

Constructor Detail

JSAFE_Object

public JSAFE_Object()
Method Detail

clone

public Object clone()
             throws CloneNotSupportedException
Duplicates the existing object.

Returns:
Return value from superclass clone() method.
Throws:
CloneNotSupporedException - If the method is not implemented in the child class.
CloneNotSupportedException

overwrite

public void overwrite(byte[] theArray)
Overwrites a byte array. Do this in a subroutine to thwart optimizations.

Parameters:
theArray - The byte array to overwrite.

overwrite

public void overwrite(int[] theArray)
Overwrites an int array. Do this in a subroutine to thwart optimizations.

Parameters:
theArray - The int array to overwrite.


RSA BSAFE Crypto-J 3.5.2