com.rsa.jsafe
Class JSAFE_SessionSpec

java.lang.Object
  extended bycom.rsa.jsafe.JSAFE_SessionSpec
Direct Known Subclasses:
JSAFE_PKCS11SessionSpec

public abstract class JSAFE_SessionSpec
extends Object

This abstract class is the base class for classes specifying how to build an instance of JSAFE_Session. This establishes a session with a token in a hardware device. Subclasses define constructors with arguments appropriate to the specific class of devices they work with. JSAFE_PKCS11SessionSpec is one such subclass, which is used with PKCS #11-compliant devices.

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

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

Since:
Crypto-J 3.2
See Also:
JSAFE_Session, JSAFE_PKCS11SessionSpec

Method Summary

abstract  void

clearSensitiveData()

This method clears sensitive data from an object.

abstract  com.rsa.jsafe.JSAFE_DeviceBuilder[]

getDeviceBuilders()

 

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

Method Detail

getDeviceBuilders

public abstract com.rsa.jsafe.JSAFE_DeviceBuilder[] getDeviceBuilders()
Returns:
An array of JSAFE_DeviceBuilder objects for this SessionSpec.

clearSensitiveData

public abstract void clearSensitiveData()
This method clears sensitive data from an object. Although the finalizer clears the data, there is no guarantee the garbage collector will quickly call the finalizer. Allows a user to clear data as soon as possible. After calling clearSensitiveData(), an Init (not a ReInit) method is called to perform other operations with the object.



RSA BSAFE Crypto-J 3.5.2