RSA BSAFE CRYPTO-J

Cryptographic Components for Java

JSAFE Javadoc JCE Javadoc Search

JSAFE_Object Class Reference

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.

Inheritance diagram for JSAFE_Object:

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 List of all members.

Public Methods

Object JSAFE_Object:: clone () throws CloneNotSupportedException
 Duplicates the existing object. More...

void JSAFE_Object:: overwrite (byte[] theArray)
 Overwrites a byte array. More...

void JSAFE_Object:: overwrite (int[] theArray)
 Overwrites an int array. More...


Member Function Documentation

Object JSAFE_Object::clone   throws CloneNotSupportedException [inline];
 

Duplicates the existing object.

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

Reimplemented in JSAFE_KeyPair.

void JSAFE_Object::overwrite int    theArray[] [inline];
 

Overwrites an int array. Do this in a subroutine to thwart optimizations.

Parameters:
theArray The int array to overwrite.

void JSAFE_Object::overwrite byte    theArray[] [inline];
 

Overwrites a byte array. Do this in a subroutine to thwart optimizations.

Parameters:
theArray The byte array to overwrite.


Copyright (c) 1999-2005 RSA Security Inc. All rights reserved. 038-001001-3500-001-000 - 3.5